diff options
author | Determinant <[email protected]> | 2020-09-18 13:09:22 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-18 13:09:22 -0400 |
commit | 3ea6a7940e40677b629270dfc7a1466bca295bd3 (patch) | |
tree | 1a7f65fcd72e77092525ab01625b8b9d365e3e40 /rpc | |
parent | b0a75c03303fe22f31fe1e1f0fa29a1e1cd78253 (diff) |
clean up the code
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/types.go | 2 |
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 |