diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-18 03:31:27 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-10-18 10:57:47 +0800 |
commit | 187d6a66a5176a1dc3e75d5ad4baad623762acb9 (patch) | |
tree | 3b16d6afdec475c4cd24c3742b59d723f298fdf8 /trie/encoding_test.go | |
parent | b19b7c39ac1074592c0aea1dc2b282d08d9a42b0 (diff) | |
download | go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar.gz go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar.bz2 go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar.lz go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar.xz go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.tar.zst go-tangerine-187d6a66a5176a1dc3e75d5ad4baad623762acb9.zip |
trie: avoid loading the root node twice
New checks whether the root node is present by loading it from the
database. Keep the node around instead of discarding it.
Diffstat (limited to 'trie/encoding_test.go')
0 files changed, 0 insertions, 0 deletions