aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/corion/schelling.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-14 18:28:33 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-25 23:17:48 +0800
commite299a0031f6519cecdf88eeeeff59a9eb02b6168 (patch)
treee5f305868d862c259e1d052b218a4b32ff5b39f4 /test/compilationTests/corion/schelling.sol
parent17493e64ed986c33bb5562eabafca2d52b212f19 (diff)
downloaddexon-solidity-e299a0031f6519cecdf88eeeeff59a9eb02b6168.tar.gz
dexon-solidity-e299a0031f6519cecdf88eeeeff59a9eb02b6168.tar.zst
dexon-solidity-e299a0031f6519cecdf88eeeeff59a9eb02b6168.zip
Update compilation tests.
Diffstat (limited to 'test/compilationTests/corion/schelling.sol')
-rw-r--r--test/compilationTests/corion/schelling.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/corion/schelling.sol b/test/compilationTests/corion/schelling.sol
index 51133d73..519d92b4 100644
--- a/test/compilationTests/corion/schelling.sol
+++ b/test/compilationTests/corion/schelling.sol
@@ -335,7 +335,7 @@ contract schelling is module, announcementTypes, schellingVars {
require( voter.status == voterStatus.afterPrepareVote );
require( voter.roundID < currentRound );
- if ( keccak256(vote) == voter.hash ) {
+ if ( keccak256(bytes(vote)) == voter.hash ) {
delete voter.hash;
if (round.blockHeight+roundBlockDelay/2 >= block.number) {
if ( bytes(vote)[0] == aboveChar ) {