rpc: fix besthash byte order.
This commit is contained in:
parent
1a5263ef23
commit
a2fd9b35c6
@ -538,7 +538,7 @@ RPC.prototype.getpeerinfo = co(function* getpeerinfo(args, help) {
|
||||
subver: peer.agent,
|
||||
inbound: !peer.outbound,
|
||||
startingheight: peer.height,
|
||||
besthash: peer.bestHash,
|
||||
besthash: peer.bestHash ? util.revHex(peer.bestHash) : null,
|
||||
bestheight: peer.bestHeight,
|
||||
banscore: peer.banScore,
|
||||
inflight: peer.requestMap.keys().map(util.revHex),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user