Commit 037676b2 authored by yann300's avatar yann300

rename resolveStorage => accumulateStorageChanges

parent 16ea5a93
...@@ -110,14 +110,14 @@ function storageRangeInternal (self, start, maxSize, tx, stepIndex, callback) { ...@@ -110,14 +110,14 @@ function storageRangeInternal (self, start, maxSize, tx, stepIndex, callback) {
} else { } else {
if (self.isComplete(address)) { if (self.isComplete(address)) {
var cached = fromCache(self, address) var cached = fromCache(self, address)
self.resolveStorage(stepIndex, address, cached, callback) self.accumulateStorageChanges(stepIndex, address, cached, callback)
} else { } else {
storageRangeAtInternal(tx, address, start, maxSize, (error, storage, complete) => { storageRangeAtInternal(tx, address, start, maxSize, (error, storage, complete) => {
if (error) { if (error) {
callback(error) callback(error)
} else { } else {
toCache(self, address, storage, complete) toCache(self, address, storage, complete)
self.resolveStorage(stepIndex, address, storage, callback) self.accumulateStorageChanges(stepIndex, address, storage, callback)
} }
}) })
} }
......
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