diff options
author | Determinant <[email protected]> | 2020-09-17 02:04:21 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-17 02:04:21 -0400 |
commit | 5d5c982b90375cc1ff3133566091e1fbac2b0b67 (patch) | |
tree | d4386791bbe7908e8d7fef75560e7ab49100b849 /rpc | |
parent | 160a8f543b3a2e9ed38f806015e4f1f0d1f49f8d (diff) |
...
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/types.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/types.go b/rpc/types.go index 6575203..e46532c 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -155,6 +155,10 @@ func (bnh *BlockNumberOrHash) UnmarshalJSON(data []byte) error { bn := PendingBlockNumber bnh.BlockNumber = &bn return nil + case "accepted": + bn := AcceptedBlockNumber + bnh.BlockNumber = &bn + return nil default: if len(input) == 66 { hash := common.Hash{} |