note geth bug

This commit is contained in:
Roy Crihfield 2023-08-04 02:03:46 +08:00
parent c04cd3eac6
commit 338acc60c9

View File

@ -52,6 +52,7 @@ func TestSymmetricDifferenceIterator(t *testing.T) {
} }
assert.Equal(t, 4, *count) assert.Equal(t, 4, *count)
// TODO will fail until fixed https://github.com/ethereum/go-ethereum/pull/27838
trieb := trie.NewEmpty(db) trieb := trie.NewEmpty(db)
di, count = utils.NewSymmetricDifferenceIterator(triea.NodeIterator([]byte("food")), trieb.NodeIterator(nil)) di, count = utils.NewSymmetricDifferenceIterator(triea.NodeIterator([]byte("food")), trieb.NodeIterator(nil))
for di.Next(true) { for di.Next(true) {