aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-30 03:02:23 +0800
committerChristian <c@ethdev.com>2015-01-30 04:33:46 +0800
commitdbfd0c601913eabc32aa8b937d654d6217300597 (patch)
treeddfc278c0ada5eb2d4924aa0b12d008f20b41247 /SolidityEndToEndTest.cpp
parent99a8f58ee3091ef0ff2389f0b7ad8f1e1fe2df01 (diff)
downloaddexon-solidity-dbfd0c601913eabc32aa8b937d654d6217300597.tar.gz
dexon-solidity-dbfd0c601913eabc32aa8b937d654d6217300597.tar.zst
dexon-solidity-dbfd0c601913eabc32aa8b937d654d6217300597.zip
Padding fixes.
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index 0df2d914..b51492e3 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -1963,9 +1963,9 @@ BOOST_AUTO_TEST_CASE(event)
function deposit(hash _id, bool _manually) {
if (_manually) {
hash s = 0x50cb9fe53daa9737b786ab3646f04d0150dc50ef4e75f59509d83667ad5adb20;
- log3(msg.value, s, hash(msg.sender), _id);
+ log3(msg.value, s, hash32(msg.sender), _id);
} else
- Deposit(msg.sender, _id, msg.value);
+ Deposit(hash32(msg.sender), _id, msg.value);
}
}
)";
@@ -1991,7 +1991,7 @@ BOOST_AUTO_TEST_CASE(event_lots_of_data)
contract ClientReceipt {
event Deposit(address _from, hash _id, uint _value, bool _flag);
function deposit(hash _id) {
- Deposit(msg.sender, _id, msg.value, true);
+ Deposit(msg.sender, hash32(_id), msg.value, true);
}
}
)";