aboutsummaryrefslogtreecommitdiff
path: root/rpc
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-18 13:11:39 -0400
committerDeterminant <[email protected]>2020-09-18 13:11:39 -0400
commit7d8c85cf8895b0f998d8eafb02f99d5b689fcd59 (patch)
tree1a7f65fcd72e77092525ab01625b8b9d365e3e40 /rpc
parentaa4852662bcb45607a82ed115ac57d72a16b304b (diff)
parent3ea6a7940e40677b629270dfc7a1466bca295bd3 (diff)
Merge commit '3ea6a79' into dev
Diffstat (limited to 'rpc')
-rw-r--r--rpc/types.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/rpc/types.go b/rpc/types.go
index 3ee46f3..99e29fc 100644
--- a/rpc/types.go
+++ b/rpc/types.go
@@ -92,7 +92,6 @@ func (bn *BlockNumber) UnmarshalJSON(data []byte) error {
*bn = EarliestBlockNumber
return nil
case "latest":
- //*bn = LatestBlockNumber
*bn = AcceptedBlockNumber
return nil
case "pending":
@@ -148,7 +147,6 @@ func (bnh *BlockNumberOrHash) UnmarshalJSON(data []byte) error {
bnh.BlockNumber = &bn
return nil
case "latest":
- //*bn = LatestBlockNumber
bn := AcceptedBlockNumber
bnh.BlockNumber = &bn
return nil