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,10 +40,7 @@
|
||||||
var idx = toHex(key);
|
var idx = toHex(key);
|
||||||
|
|
||||||
if (this.prestate[acc].storage[idx] === undefined) {
|
if (this.prestate[acc].storage[idx] === undefined) {
|
||||||
var val = toHex(db.getState(addr, key));
|
this.prestate[acc].storage[idx] = toHex(db.getState(addr, key));
|
||||||
if (val != "0x0000000000000000000000000000000000000000000000000000000000000000") {
|
|
||||||
this.prestate[acc].storage[idx] = toHex(db.getState(addr, key));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue