mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
Return block number as hex
This commit is contained in:
parent
c3deafabda
commit
93141f4b6d
@ -369,7 +369,7 @@ func (p *EthereumApi) GetIsMining(reply *interface{}) error {
|
||||
}
|
||||
|
||||
func (p *EthereumApi) BlockNumber(reply *interface{}) error {
|
||||
*reply = p.xeth().Backend().ChainManager().CurrentBlock().Number()
|
||||
*reply = toHex(p.xeth().Backend().ChainManager().CurrentBlock().Number().Bytes())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user