Add support for pending blocks (#2225).

This commit is contained in:
Richard Moore 2022-03-08 17:16:32 -05:00
parent 38e825cee6
commit 54e6e57fce

@ -130,7 +130,7 @@ export class Formatter {
};
formats.block = {
hash: hash,
hash: Formatter.allowNull(hash),
parentHash: hash,
number: number,
@ -141,7 +141,7 @@ export class Formatter {
gasLimit: bigNumber,
gasUsed: bigNumber,
miner: address,
miner: Formatter.allowNull(address),
extraData: data,
transactions: Formatter.allowNull(Formatter.arrayOf(hash)),