diff --git a/rpc/types.go b/rpc/types.go index 78efcc0b9..c890ce43e 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -109,6 +109,7 @@ func (bn *BlockNumber) UnmarshalJSON(data []byte) error { return nil case "latestExecuted": *bn = LatestExecutedBlockNumber + return nil case "null": *bn = LatestBlockNumber return nil