aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}
)";