diff --git a/src/storage/storageResolver.js b/src/storage/storageResolver.js index 0d3b375b40..d26efbc36b 100644 --- a/src/storage/storageResolver.js +++ b/src/storage/storageResolver.js @@ -6,7 +6,7 @@ var util = require('../helpers/global') class StorageResolver { constructor (_traceManager) { this.traceManager = _traceManager - this.clear() + this.storageByAddress = {} } /** @@ -48,14 +48,6 @@ class StorageResolver { return this.storageByAddress[address] && this.storageByAddress[address].complete } - /** - * clear the cache - * - */ - clear () { - this.storageByAddress = {} - } - /** * resolve the storage to the specified execution step @arg index. uses the traceManager.accumulateStorageChanges *