aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-09-17 02:07:45 -0400
committerDeterminant <tederminant@gmail.com>2020-09-17 02:07:45 -0400
commit3b7ebac681f551a9f9931e9d68de402d4cff8c0d (patch)
treed7ce03a1d229b5b0daeaccd56147ecfa26ac292b
parent5d5c982b90375cc1ff3133566091e1fbac2b0b67 (diff)
...
-rw-r--r--rpc/types.go3
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":