Skip to content

Commit ce60b69

Browse files
committed
add virtual to balanceOf
1 parent 6d5bbc5 commit ce60b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/ERC20Pods.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ abstract contract ERC20Pods is ERC20, IERC20Pods, ReentrancyGuardExt {
4848
return _pods[account].items.get();
4949
}
5050

51-
function balanceOf(address account) public nonReentrantView(_guard) view override(IERC20, ERC20) returns(uint256) {
51+
function balanceOf(address account) public nonReentrantView(_guard) view override(IERC20, ERC20) virtual returns(uint256) {
5252
return super.balanceOf(account);
5353
}
5454

55-
function podBalanceOf(address pod, address account) public nonReentrantView(_guard) view returns(uint256) {
55+
function podBalanceOf(address pod, address account) public nonReentrantView(_guard) view virtual returns(uint256) {
5656
if (hasPod(account, pod)) {
5757
return super.balanceOf(account);
5858
}

0 commit comments

Comments
 (0)