mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
eth: fixed incorrect storage from prestate_tracer
This commit is contained in:
parent
de39513ced
commit
7a4c32e8c9
1 changed files with 1 additions and 4 deletions
|
|
@ -40,11 +40,8 @@
|
|||
var idx = toHex(key);
|
||||
|
||||
if (this.prestate[acc].storage[idx] === undefined) {
|
||||
var val = toHex(db.getState(addr, key));
|
||||
if (val != "0x0000000000000000000000000000000000000000000000000000000000000000") {
|
||||
this.prestate[acc].storage[idx] = toHex(db.getState(addr, key));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// result is invoked when all the opcodes have been iterated over and returns
|
||||
|
|
|
|||
Loading…
Reference in a new issue