Closed
Description
Hi there,
please note that this is an issue tracker reserved for bug reports and feature requests.
For general questions please use the gitter channel or the Ethereum stack exchange at https://ethereum.stackexchange.com.
System information
Geth version: Geth/v1.8.22-omnibus-260f7fbd/linux-amd64/go1.11.1
Expected behaviour
According to documentation I expect that eth_getBlockByNumber
returns number == null
for pending
block
Actual behaviour
eth_getBlockByNumber('pending')
returns not null in block.number field
Steps to reproduce the behaviour
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["pending", true],"id":1}' https://mainnet.infura.io/