aboutsummaryrefslogtreecommitdiff
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/types.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/types.go b/rpc/types.go
index 202dd79..703f4a7 100644
--- a/rpc/types.go
+++ b/rpc/types.go
@@ -84,7 +84,8 @@ func (bn *BlockNumber) UnmarshalJSON(data []byte) error {
*bn = EarliestBlockNumber
return nil
case "latest":
- *bn = LatestBlockNumber
+ //*bn = LatestBlockNumber
+ *bn = AcceptedBlockNumber
return nil
case "pending":
*bn = PendingBlockNumber