Changed rule description to match phrasing of assert comment

This commit is contained in:
Thomas Adams
2022-05-26 14:39:10 -07:00
parent 4dc0ff9fe3
commit 78263e2a9a

View File

@ -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);