Skip to content

Commit

Permalink
core: fix byte endianness for 7002
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Apr 25, 2024
1 parent e0901b6 commit 3d30196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func ProcessDequeueWithdrawalRequests(vmenv *vm.EVM, statedb *state.StateDB) typ
wx := &types.WithdrawalRequest{
Source: common.BytesToAddress(ret[start : start+20]),
PublicKey: pubkey,
Amount: binary.LittleEndian.Uint64(ret[start+68:]),
Amount: binary.BigEndian.Uint64(ret[start+68:]),
}
reqs = append(reqs, types.NewRequest(wx))
}
Expand Down

0 comments on commit 3d30196

Please sign in to comment.