aboutsummaryrefslogtreecommitdiffstats
path: root/eth/api.go
diff options
context:
space:
mode:
authorwilliambannas <wrschwartz@wpi.edu>2018-06-14 18:14:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-14 18:14:52 +0800
commit9402f965977620de0dcd968ad6943f66a80bcc5d (patch)
treeb3c6fc4a3aed4299117ff1e0aa83a84eff17cc70 /eth/api.go
parentd0fd8d6fc29ec859650adf30718e2b06786e854f (diff)
downloaddexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar
dexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.gz
dexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.bz2
dexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.lz
dexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.xz
dexon-9402f965977620de0dcd968ad6943f66a80bcc5d.tar.zst
dexon-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.go4
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.
//