aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-12-10 19:55:11 +0800
committerGitHub <noreply@github.com>2018-12-10 19:55:11 +0800
commit2fdff338034e3ec990f08708c08a7695c39186d2 (patch)
tree7326eaeb096268fd5fa995d70b7a8bb8eca5fd77
parentaf8daf91a659c05a9c6424752d050f2beca0ee29 (diff)
parentda6e6e7971b093990b964cd708cceab77898a655 (diff)
downloadgo-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar.gz
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar.bz2
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar.lz
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar.xz
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.tar.zst
go-tangerine-2fdff338034e3ec990f08708c08a7695c39186d2.zip
Merge pull request #18269 from Quasilyte/patch-1
light: fix duplicated argument in bytes.Equal call
-rw-r--r--light/trie_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/trie_test.go b/light/trie_test.go
index 51ce9017a..5b5fce31d 100644
--- a/light/trie_test.go
+++ b/light/trie_test.go
@@ -64,7 +64,7 @@ func diffTries(t1, t2 state.Trie) error {
spew.Dump(i2)
return fmt.Errorf("tries have different keys %x, %x", i1.Key, i2.Key)
}
- if !bytes.Equal(i2.Value, i2.Value) {
+ if !bytes.Equal(i1.Value, i2.Value) {
return fmt.Errorf("tries differ at key %x", i1.Key)
}
}