Commit 0178bec6 authored by George Hotz's avatar George Hotz

commit the state, TODO: write trie update functions

parent c331571a
...@@ -51,5 +51,8 @@ func main() { ...@@ -51,5 +51,8 @@ func main() {
_, _, _, err := processor.Process(block, statedb, vmconfig) _, _, _, err := processor.Process(block, statedb, vmconfig)
fmt.Println(err) fmt.Println(err)
fmt.Println("process done") outHash, err := statedb.Commit(false)
fmt.Println(err)
fmt.Println("process done with hash", outHash, header.Root)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment