diff options
author | Sheldon <11510383@mail.sustc.edu.cn> | 2018-11-26 20:27:49 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-11-26 20:27:49 +0800 |
commit | ca228569e4aedd5ebbe853ec61761561d86579a6 (patch) | |
tree | fc89ec0c91b82e774469f8cf715d394376332331 /swarm/pss/protocol_test.go | |
parent | f5e6634fd2fd2be5520c77edb7a5cd375eb28fd4 (diff) | |
download | dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar.gz dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar.bz2 dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar.lz dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar.xz dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.tar.zst dexon-ca228569e4aedd5ebbe853ec61761561d86579a6.zip |
light: odrTrie tryUpdate should use update (#18107)
TryUpdate does not call t.trie.TryUpdate(key, value) and calls t.trie.TryDelete
instead. The update operation simply deletes the corresponding entry, though
it could retrieve later by odr. However, it adds further network overhead.
Diffstat (limited to 'swarm/pss/protocol_test.go')
0 files changed, 0 insertions, 0 deletions