mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4097 from ethereum/noPackedExceptForPacked
[BREAKING] call only takes a single argument and does not pad
This commit is contained in:
@@ -66,7 +66,7 @@ contract MultisigWallet is Multisig, Shareable, DayLimit {
|
||||
return 0;
|
||||
}
|
||||
// determine our operation hash.
|
||||
_r = keccak256(msg.data, block.number);
|
||||
_r = keccak256(abi.encodePacked(msg.data, block.number));
|
||||
if (!confirm(_r) && txs[_r].to == address(0)) {
|
||||
txs[_r].to = _to;
|
||||
txs[_r].value = _value;
|
||||
|
||||
Reference in New Issue
Block a user