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

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Mar 26, 2019
1 parent 55494b2 commit 73e5982
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils/forkedstoragetrie.js
Expand Up @@ -41,6 +41,9 @@ ForkedStorageBaseTrie.prototype.get = function(key, blockNumber, callback) {
}

if (exists) {
// TODO: just because we have the key doesn't mean we're at the right
// block number/root to send it. We need to check the block number
// before using the data in our own trie.
MerklePatriciaTree.prototype.get.call(self, key, function(err, r) {
callback(err, r);
});
Expand Down

0 comments on commit 73e5982

Please sign in to comment.