Revised rule description to be more accurate
This commit is contained in:
@ -4,8 +4,7 @@ methods {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// If a method call reduces account balances, the caller must be either the
|
/// If a method call reduces account balances, the caller must be either the
|
||||||
/// holder of the account or approved by the holder to act on the holder's
|
/// holder of the account or approved to act on the holder's behalf.
|
||||||
/// behalf.
|
|
||||||
rule onlyHolderOrApprovedCanReduceBalance {
|
rule onlyHolderOrApprovedCanReduceBalance {
|
||||||
address holder; uint256 token; uint256 amount;
|
address holder; uint256 token; uint256 amount;
|
||||||
uint256 balanceBefore = balanceOf(holder, token);
|
uint256 balanceBefore = balanceOf(holder, token);
|
||||||
|
|||||||
Reference in New Issue
Block a user