We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7671e commit 1d6786cCopy full SHA for 1d6786c
contracts/token/ERC20/extended/ERC20ExtendedInternal.sol
@@ -24,9 +24,7 @@ abstract contract ERC20ExtendedInternal is
24
virtual
25
returns (bool)
26
{
27
- uint256 allowance = ERC20BaseStorage.layout().allowances[msg.sender][
28
- spender
29
- ];
+ uint256 allowance = _allowance(msg.sender, spender);
30
31
unchecked {
32
require(
@@ -49,9 +47,7 @@ abstract contract ERC20ExtendedInternal is
49
47
50
48
51
52
53
54
55
56
require(amount <= allowance, 'ERC20Extended: insufficient allowance');
57
0 commit comments