Revised rule description to be more accurate

This commit is contained in:
Thomas Adams
2022-05-27 13:34:24 -07:00
parent 78263e2a9a
commit ca0d3363b8

View File

@ -4,8 +4,7 @@ methods {
}
/// 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
/// behalf.
/// holder of the account or approved to act on the holder's behalf.
rule onlyHolderOrApprovedCanReduceBalance {
address holder; uint256 token; uint256 amount;
uint256 balanceBefore = balanceOf(holder, token);