Skip to content

Commit

Permalink
Update src/EncumberableToken.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Cheng <[email protected]>
  • Loading branch information
scott-silver and kevincheng96 authored Jul 24, 2023
1 parent 27b3c46 commit 8d0a22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EncumberableToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ contract EncumberableToken is ERC20, IERC20Permit, IERC7246 {
// We are now moving only "available" tokens and must check
// to not unfairly move tokens encumbered to others

require(availableBalanceOf(src) >= excessAmount, "ERC7246: insufficient balance");
require(availableBalanceOf(src) >= excessAmount, "ERC7246: insufficient available balance");

_spendAllowance(src, msg.sender, excessAmount);
} else {
Expand Down

0 comments on commit 8d0a22f

Please sign in to comment.