• Felix Lange's avatar
    trie: fix delete bug for values contained in fullNode · c3a77d62
    Felix Lange authored
    Delete crashed if a fullNode contained a valueNode directly. This bug is
    very unlikely to occur with SecureTrie, but can happen with regular
    tries. This commit also introduces a randomised test which triggers all
    trie operations, which should prevent such bugs in the future.
    
    Credit for finding this bug goes to Github user @rjl493456442.
    c3a77d62
Name
Last commit
Last update
..
encoding.go Loading commit data...
encoding_test.go Loading commit data...
errors.go Loading commit data...
hasher.go Loading commit data...
iterator.go Loading commit data...
iterator_test.go Loading commit data...
node.go Loading commit data...
proof.go Loading commit data...
proof_test.go Loading commit data...
secure_trie.go Loading commit data...
secure_trie_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...
trie.go Loading commit data...
trie_test.go Loading commit data...