-
Notifications
You must be signed in to change notification settings - Fork 21.4k
core/state, trie: port changes from PBSS #26763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -792,13 +792,12 @@ func (db *Database) Update(nodes *MergedNodeSet) error { | |
| } | ||
| for _, owner := range order { | ||
| subset := nodes.sets[owner] | ||
| for _, path := range subset.updates.order { | ||
| n, ok := subset.updates.nodes[path] | ||
| if !ok { | ||
| return fmt.Errorf("missing node %x %v", owner, path) | ||
| subset.forEachWithOrder(func(path string, n *memoryNode) { | ||
| if n.isDeleted() { | ||
| return // ignore deletion | ||
|
||
| } | ||
| db.insert(n.hash, int(n.size), n.node) | ||
| } | ||
| }) | ||
| } | ||
| // Link up the account trie and storage trie if the node points | ||
| // to an account trie leaf. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.