Merge pull request #221 from jangko/remove_tabs

remove tabs from js_tracer.nim
This commit is contained in:
Ștefan Talpalaru 2019-01-28 15:08:49 +01:00 committed by GitHub
commit bf8e7a74b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 56 additions and 54 deletions

View File

@ -19,6 +19,8 @@ const postStateTracer* = """{
var idx = toHex(key); var idx = toHex(key);
this.lookupAccount(addr, db); this.lookupAccount(addr, db);
if (this.postState[acc].storage[idx] === undefined) { if (this.postState[acc].storage[idx] === undefined) {
// bug in geth js tracer
// we will use eth_getProof to fill the storage later
this.postState[acc].storage[idx] = ""; this.postState[acc].storage[idx] = "";
} }
}, },