This commit is contained in:
Yaroslav Dmytrotsa 2015-07-06 10:25:18 +03:00
parent a3b331e7f0
commit df60b74193
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public class eth_coinbase extends JsonRpcServerMethod {
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
String tmp = "0x" + getCoinBase();
String tmp = "0x" + Hex.toHexString(getCoinBase());
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
return res;

View File

@ -15,7 +15,7 @@ public class eth_coinbase extends JsonRpcServerMethod {
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
String tmp = "0x" + getCoinBase();
String tmp = "0x" + Hex.toHexString(getCoinBase());
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
return res;