aboutsummaryrefslogtreecommitdiffstats
path: root/trie/sync.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-18 03:31:27 +0800
committerFelix Lange <fjl@twurst.com>2016-10-18 10:57:47 +0800
commit187d6a66a5176a1dc3e75d5ad4baad623762acb9 (patch)
tree3b16d6afdec475c4cd24c3742b59d723f298fdf8 /trie/sync.go
parentb19b7c39ac1074592c0aea1dc2b282d08d9a42b0 (diff)
downloadgo-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/sync.go')
0 files changed, 0 insertions, 0 deletions