Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Always use the trie's fork block number, as it might be different (li…
Browse files Browse the repository at this point in the history
…ke in trace transaction)
  • Loading branch information
davidmurdoch committed Apr 29, 2019
1 parent cc25ec5 commit c117d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/forkedblockchain.js
Expand Up @@ -330,7 +330,7 @@ ForkedBlockchain.prototype.getLookupAccount = function(trie) {
callback(null, account);
});
} else {
this.fetchAccountFromFallback(address, to.number(this.forkBlockNumber), callback);
this.fetchAccountFromFallback(address, to.number(trie.forkBlockNumber), callback);
}
});
};
Expand Down

0 comments on commit c117d5c

Please sign in to comment.