Merge pull request #527 from ethereum/newStorageScheme

Remove hashedKey from storage value
pull/1/head
yann300 8 years ago committed by GitHub
commit b3e68cd49a
  1. 1
      src/app/execution-context.js

@ -42,7 +42,6 @@ class StateManagerCommonStorageDump extends StateManager {
var stream = trie.createReadStream() var stream = trie.createReadStream()
stream.on('data', function (val) { stream.on('data', function (val) {
storage['0x' + val.key.toString('hex')] = { storage['0x' + val.key.toString('hex')] = {
hashedKey: '0x' + val.key.toString('hex'),
key: self.keyHashes[val.key.toString('hex')], key: self.keyHashes[val.key.toString('hex')],
value: '0x' + val.value.toString('hex') value: '0x' + val.value.toString('hex')
} }

Loading…
Cancel
Save