diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-14 02:44:03 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-14 02:44:03 +0800 |
commit | b8ca0a830e89d4d7c4314c13bcbc2629992f43d9 (patch) | |
tree | b7975a1ffc0884bbfeb7523e351f397ec3b67a3e /trie/trie.go | |
parent | a89cfe92ccdea31891bd7ea0869dac968c04202f (diff) | |
download | dexon-b8ca0a830e89d4d7c4314c13bcbc2629992f43d9.tar.gz dexon-b8ca0a830e89d4d7c4314c13bcbc2629992f43d9.tar.zst dexon-b8ca0a830e89d4d7c4314c13bcbc2629992f43d9.zip |
eth, trie: removed key prefixing from state entries & merge db fix
Fixed database merge strategy to use the correct database. Due to a copy
paste fail when doing type evaluation the same database was being
iterated (chain), all others were ignored.
Removed state prefixing because {H(code): code} is stored in the same
database as the rest of the state.
Diffstat (limited to 'trie/trie.go')
-rw-r--r-- | trie/trie.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/trie/trie.go b/trie/trie.go index 2970bc185..abf48a850 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -27,8 +27,6 @@ import ( "github.com/ethereum/go-ethereum/crypto" ) -var StatePre = []byte("state-") - func ParanoiaCheck(t1 *Trie, backend Backend) (bool, *Trie) { t2 := New(nil, backend) |