Browse Source

Do something if we haven't been told.

cl-refactor
Gav Wood 10 years ago
parent
commit
0f0a50f0ec
  1. 2
      libweb3jsonrpc/WebThreeStubServer.cpp

2
libweb3jsonrpc/WebThreeStubServer.cpp

@ -217,6 +217,8 @@ bool WebThreeStubServer::admin_eth_setMiningBenefactor(std::string const& _uuidO
throw jsonrpc::JsonRpcException("Invalid UUID or address");
if (m_setMiningBenefactor)
m_setMiningBenefactor(a);
else
m_web3.ethereum()->setAddress(a);
return true;
}

Loading…
Cancel
Save