Skip to content

Commit

Permalink
Fix incorrect slice assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cabrador committed Apr 9, 2024
1 parent 6d51459 commit 2879095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updateset/update_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (up UpdateSetRLP) ToWorldState(getCodeFunc func(codeHash types.Hash) ([]byt
}

for j := range worldStateAcc.Storage {
acc.Storage[up.WorldState.Accounts[j].Storage[j][0]] = up.WorldState.Accounts[j].Storage[j][1]
acc.Storage[worldStateAcc.Storage[j][0]] = worldStateAcc.Storage[j][1]
}
worldState[addr] = &acc
}
Expand Down

0 comments on commit 2879095

Please sign in to comment.