pull/7/head
aniket-engg 5 years ago
parent 198c8c1936
commit 0e24411acc
  1. 2
      remix-lib/src/execution/execution-context.js

@ -34,7 +34,7 @@ class StateManagerCommonStorageDump extends StateManager {
} }
putContractStorage (address, key, value, cb) { putContractStorage (address, key, value, cb) {
this.keyHashes[ethUtil.sha3(key).toString('hex')] = ethUtil.bufferToHex(key) this.keyHashes[ethUtil.keccak(key).toString('hex')] = ethUtil.bufferToHex(key)
super.putContractStorage(address, key, value, cb) super.putContractStorage(address, key, value, cb)
} }

Loading…
Cancel
Save