diff options
author | Cryptomental <cryptomental.com@gmail.com> | 2018-07-10 15:18:19 +0800 |
---|---|---|
committer | Cryptomental <cryptomental.com@gmail.com> | 2018-07-11 04:57:59 +0800 |
commit | 4116704442aff035acb5b707c6b211ac1f5524fe (patch) | |
tree | 6813ae8d78ecfa630cc85fdca09d1534d627c6c5 /test/compilationTests/corion/schelling.sol | |
parent | eb92d5f760995aef4c79fcaa3f8c2437718ffc7f (diff) | |
download | dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.gz dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.bz2 dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.lz dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.xz dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.zst dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.zip |
test: Fix typos.
Fix typos using codespell.
Refs: #4442
Diffstat (limited to 'test/compilationTests/corion/schelling.sol')
-rw-r--r-- | test/compilationTests/corion/schelling.sol | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compilationTests/corion/schelling.sol b/test/compilationTests/corion/schelling.sol index 0f84239d..b8beaa3a 100644 --- a/test/compilationTests/corion/schelling.sol +++ b/test/compilationTests/corion/schelling.sol @@ -147,7 +147,7 @@ contract schelling is module, announcementTypes, schellingVars { @from From who @to To who @value Amount - @bool Was the transaction succesfull? + @bool Was the transaction successful? */ require( super.isModuleHandler(msg.sender) ); if ( to == address(this) ) { @@ -442,14 +442,14 @@ contract schelling is module, announcementTypes, schellingVars { if ( ! round.voted ) { newRound.reward = round.reward; } - uint256 aboves; + uint256 above; for ( uint256 a=currentRound ; a>=currentRound-interestCheckRounds ; a-- ) { if (a == 0) { break; } prevRound = getRound(a); - if ( prevRound.totalAboveWeight > prevRound.totalBelowWeight ) { aboves++; } + if ( prevRound.totalAboveWeight > prevRound.totalBelowWeight ) { above++; } } uint256 expansion; - if ( aboves >= interestCheckAboves ) { + if ( above >= interestCheckAboves ) { expansion = getTotalSupply() * interestRate / interestRateM / 100; } |