Skip to content

Commit 5b2fe8e

Browse files
authored
Add virtual to totalSupply (#266)
1 parent d7162ec commit 5b2fe8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/token/erc721/abstract/ERC721HybridV2.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ abstract contract ERC721HybridV2 is ERC721PsiBurnableV2, ERC721, IImmutableERC72
8181
/* @notice Overwritten functions with combined implementations, supply for the collection is summed as they
8282
* are tracked differently by each minting strategy
8383
*/
84-
function totalSupply() public view override(ERC721PsiV2) returns (uint256) {
84+
function totalSupply() public view virtual override(ERC721PsiV2) returns (uint256) {
8585
return ERC721PsiV2.totalSupply() + _idMintTotalSupply;
8686
}
8787

0 commit comments

Comments
 (0)