typo
This commit is contained in:
parent
a3b331e7f0
commit
df60b74193
|
@ -18,7 +18,7 @@ public class eth_coinbase extends JsonRpcServerMethod {
|
||||||
|
|
||||||
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
|
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
|
||||||
|
|
||||||
String tmp = "0x" + getCoinBase();
|
String tmp = "0x" + Hex.toHexString(getCoinBase());
|
||||||
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
|
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class eth_coinbase extends JsonRpcServerMethod {
|
||||||
|
|
||||||
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
|
protected JSONRPC2Response worker(JSONRPC2Request req, MessageContext ctx) {
|
||||||
|
|
||||||
String tmp = "0x" + getCoinBase();
|
String tmp = "0x" + Hex.toHexString(getCoinBase());
|
||||||
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
|
JSONRPC2Response res = new JSONRPC2Response(tmp, req.getID());
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue