mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
revert mistake change
This commit is contained in:
parent
6c4b8eb9fd
commit
45a9ef00e9
1 changed files with 1 additions and 1 deletions
|
|
@ -383,13 +383,13 @@ func (r *decoder) readAccount(pos int) (accountIndex, []byte, error) {
|
|||
// readStorage parses the storage slots from the byte stream with specified account.
|
||||
func (r *decoder) readStorage(accIndex accountIndex) ([]common.Hash, map[common.Hash][]byte, error) {
|
||||
var (
|
||||
last common.Hash
|
||||
count = int(accIndex.storageSlots)
|
||||
list = make([]common.Hash, 0, count)
|
||||
storage = make(map[common.Hash][]byte, count)
|
||||
)
|
||||
for j := 0; j < count; j++ {
|
||||
var (
|
||||
last common.Hash
|
||||
index slotIndex
|
||||
start = (accIndex.storageOffset + uint32(j)) * uint32(slotIndexSize)
|
||||
end = (accIndex.storageOffset + uint32(j+1)) * uint32(slotIndexSize)
|
||||
|
|
|
|||
Loading…
Reference in a new issue