diff options
author | williambannas <wrschwartz@wpi.edu> | 2018-06-14 18:14:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-14 18:14:52 +0800 |
commit | 9402f965977620de0dcd968ad6943f66a80bcc5d (patch) | |
tree | b3c6fc4a3aed4299117ff1e0aa83a84eff17cc70 /eth/api.go | |
parent | d0fd8d6fc29ec859650adf30718e2b06786e854f (diff) | |
download | go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.gz go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.bz2 go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.lz go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.xz go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.zst go-tangerine-9402f965977620de0dcd968ad6943f66a80bcc5d.zip |
eth: conform better to the golint standards (#16783)
* eth: made changes to conform better to the golint standards
* eth: fix comment nit
Diffstat (limited to 'eth/api.go')
-rw-r--r-- | eth/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/api.go b/eth/api.go index 446161cc4..0b6da456f 100644 --- a/eth/api.go +++ b/eth/api.go @@ -359,7 +359,7 @@ type BadBlockArgs struct { RLP string `json:"rlp"` } -// GetBadBLocks returns a list of the last 'bad blocks' that the client has seen on the network +// GetBadBlocks returns a list of the last 'bad blocks' that the client has seen on the network // and returns them as a JSON list of block-hashes func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs, error) { blocks := api.eth.BlockChain().BadBlocks() @@ -431,7 +431,7 @@ func storageRangeAt(st state.Trie, start []byte, maxResult int) (StorageRangeRes return result, nil } -// GetModifiedAccountsByumber returns all accounts that have changed between the +// GetModifiedAccountsByNumber returns all accounts that have changed between the // two blocks specified. A change is defined as a difference in nonce, balance, // code hash, or storage hash. // |