diff options
author | Determinant <[email protected]> | 2020-09-16 19:00:25 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-16 19:00:25 -0400 |
commit | b1ac5e6ce73c37378e575d6291e3c5f1ee170430 (patch) | |
tree | 842889ed69fcf55a3dd3a0226e44ad54025d6a79 /eth/api.go | |
parent | 8478802ddacc027a8d8c866da9365f6739d9d9d4 (diff) |
build success
Diffstat (limited to 'eth/api.go')
-rw-r--r-- | eth/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -371,7 +371,7 @@ func (api *PublicDebugAPI) AccountRange(blockNrOrHash rpc.BlockNumberOrHash, sta var block *types.Block if number == rpc.LatestBlockNumber { block = api.eth.blockchain.CurrentBlock() - } else if blockNr == rpc.AcceptedBlockNumber { + } else if number == rpc.AcceptedBlockNumber { block = api.eth.AcceptedBlock() } else { block = api.eth.blockchain.GetBlockByNumber(uint64(number)) |