Commit 7557d0b9 authored by yann300's avatar yann300

renaming

parent 14e13ac8
...@@ -134,11 +134,11 @@ function storageRangeInternal (self, start, maxSize, tx, stepIndex, callback) { ...@@ -134,11 +134,11 @@ function storageRangeInternal (self, start, maxSize, tx, stepIndex, callback) {
* @param {String} slotKey - key of the value to return * @param {String} slotKey - key of the value to return
* @return {String} - either the entire known storage or a single value * @return {String} - either the entire known storage or a single value
*/ */
function fromCache (self, address, slotKey) { function fromCache (self, address, hashedKey) {
if (!self.storageByAddress[address]) { if (!self.storageByAddress[address]) {
return null return null
} }
return slotKey ? self.storageByAddress[address].storage[slotKey] : self.storageByAddress[address].storage return hashedKey ? self.storageByAddress[address].storage[hashedKey] : self.storageByAddress[address].storage
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment