Skip to content

Commit

Permalink
Add virtual to _by()
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio authored Oct 12, 2023
1 parent 8c74bb7 commit 747a6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokens/erc721/ERC721ConduitPreapproved_Solady.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ abstract contract ERC721ConduitPreapproved_Solady is ERC721, IPreapprovalForAll
}
}

function _by(address from) internal view returns (address result) {
function _by(address from) internal view virtual returns (address result) {
if (msg.sender == CONDUIT) {
if (isApprovedForAll(from, CONDUIT)) {
return address(0);
Expand Down

0 comments on commit 747a6e2

Please sign in to comment.