aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/Wallet.cpp
diff options
context:
space:
mode:
authorYoichi Hirai <yhirai@pira.jp>2016-09-06 00:28:32 +0800
committerGitHub <noreply@github.com>2016-09-06 00:28:32 +0800
commite2b787cdd0717bf074cc03634d580f7713568792 (patch)
treee743ce24ef9f7eb1df0ada36b79cde685384b8e3 /test/contracts/Wallet.cpp
parentbe6a5f44d7ac4d63eb249988eb8e467fb15f5af4 (diff)
parent3b2174f7a82fec7ed8ef2e55ec00996fac32c948 (diff)
downloaddexon-solidity-e2b787cdd0717bf074cc03634d580f7713568792.tar.gz
dexon-solidity-e2b787cdd0717bf074cc03634d580f7713568792.tar.zst
dexon-solidity-e2b787cdd0717bf074cc03634d580f7713568792.zip
Merge pull request #1005 from ethereum/modifierbody
Require ";" after "_"
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r--test/contracts/Wallet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp
index 55c2e1af..d3e1b8d7 100644
--- a/test/contracts/Wallet.cpp
+++ b/test/contracts/Wallet.cpp
@@ -86,14 +86,14 @@ contract multiowned {
// simple single-sig function modifier.
modifier onlyowner {
if (isOwner(msg.sender))
- _
+ _;
}
// multi-sig function modifier: the operation must have an intrinsic hash in order
// that later attempts can be realised as the same underlying operation and
// thus count as confirmations.
modifier onlymanyowners(bytes32 _operation) {
if (confirmAndCheck(_operation))
- _
+ _;
}
// METHODS
@@ -281,7 +281,7 @@ contract daylimit is multiowned {
// simple modifier for daily limit.
modifier limitedDaily(uint _value) {
if (underLimit(_value))
- _
+ _;
}
// METHODS