pull/7/head
yann300 8 years ago
parent 037676b244
commit 14e13ac89d
  1. 4
      src/storage/storageResolver.js

@ -80,7 +80,7 @@ function resolveAddress (self, stepIndex, callback) {
})
}
function storageRangeAtInternal (tx, address, start, maxSize, callback) {
function storageRangeWeb3Call (tx, address, start, maxSize, callback) {
util.web3.debug.storageRangeAt(
tx.blockHash, tx.transactionIndex === undefined ? tx.hash : tx.transactionIndex,
address,
@ -112,7 +112,7 @@ function storageRangeInternal (self, start, maxSize, tx, stepIndex, callback) {
var cached = fromCache(self, address)
self.accumulateStorageChanges(stepIndex, address, cached, callback)
} else {
storageRangeAtInternal(tx, address, start, maxSize, (error, storage, complete) => {
storageRangeWeb3Call(tx, address, start, maxSize, (error, storage, complete) => {
if (error) {
callback(error)
} else {

Loading…
Cancel
Save