Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
vetting
Browse files Browse the repository at this point in the history
  • Loading branch information
Herman Junge committed Aug 15, 2017
1 parent d08b5b8 commit ad2dc7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common_test.go
Expand Up @@ -107,7 +107,7 @@ func compareStringSlices(a, b []string) bool {
return false
}

for i, _ := range a {
for i := range a {
if a[i] != b[i] {
return false
}
Expand Down
2 changes: 1 addition & 1 deletion eth_block.go
Expand Up @@ -122,7 +122,7 @@ func processTransactions(txs []*types.Transaction, expectedTxRoot []byte) ([]*Et
}

if !bytes.Equal(transactionTrie.rootHash(), expectedTxRoot) {
return nil, nil, fmt.Errorf("Wrong transaction hash computed!")
return nil, nil, fmt.Errorf("wrong transaction hash computed")
}

ethTxTrieNodes := transactionTrie.getNodes()
Expand Down
2 changes: 1 addition & 1 deletion eth_tx_trie_test.go
Expand Up @@ -237,7 +237,7 @@ func TestTxTrieLinksBranch(t *testing.T) {
}
}

func TessTxTrieTreeBadParams(t *testing.T) {
func TestTxTrieTreeBadParams(t *testing.T) {
ethTxTrie := prepareDecodedEthTxTrieBranch(t)

tree := ethTxTrie.Tree("non-empty-string", 0)
Expand Down

0 comments on commit ad2dc7d

Please sign in to comment.