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