diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-12-10 19:55:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 19:55:11 +0800 |
commit | 2fdff338034e3ec990f08708c08a7695c39186d2 (patch) | |
tree | 7326eaeb096268fd5fa995d70b7a8bb8eca5fd77 | |
parent | af8daf91a659c05a9c6424752d050f2beca0ee29 (diff) | |
parent | da6e6e7971b093990b964cd708cceab77898a655 (diff) | |
download | dexon-2fdff338034e3ec990f08708c08a7695c39186d2.tar.gz dexon-2fdff338034e3ec990f08708c08a7695c39186d2.tar.zst dexon-2fdff338034e3ec990f08708c08a7695c39186d2.zip |
Merge pull request #18269 from Quasilyte/patch-1
light: fix duplicated argument in bytes.Equal call
-rw-r--r-- | light/trie_test.go | 2 |
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) } } |