go-ethereum
go-ethereum copied to clipboard
Clean up use of snapshot dangling storage check
This PR makes a few small cleanup changes in the snapshot code:
- Remove unused checkDanglingStorage function in
cmd/geth/snapshot.go - Removes an unused parameter from
makeStorageTrie - Returns an error instead of just logging an error in a check for dangling storage to ensure tests will fail instead of just logging an error
Removes an unused parameter from makeStorageTrie
These parameters will be used very soon. Since we are now switching to new trie scheme which is a huge change, a part of small changes have been merged into master right now, but somehow not used yet. Please remove these changes from your PR.