diff options
author | Determinant <[email protected]> | 2020-09-17 02:07:45 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-17 02:07:45 -0400 |
commit | 3b7ebac681f551a9f9931e9d68de402d4cff8c0d (patch) | |
tree | d7ce03a1d229b5b0daeaccd56147ecfa26ac292b /rpc | |
parent | 5d5c982b90375cc1ff3133566091e1fbac2b0b67 (diff) |
...
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/types.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/types.go b/rpc/types.go index e46532c..3ee46f3 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -148,7 +148,8 @@ func (bnh *BlockNumberOrHash) UnmarshalJSON(data []byte) error { bnh.BlockNumber = &bn return nil case "latest": - bn := LatestBlockNumber + //*bn = LatestBlockNumber + bn := AcceptedBlockNumber bnh.BlockNumber = &bn return nil case "pending": |