Skip to content

Commit

Permalink
Merge pull request #13 from ProjectOpenSea/ryanio-patch-1
Browse files Browse the repository at this point in the history
`ERC721ConduitPreapproved_Solady`: Add `virtual` to `_by()`
  • Loading branch information
emo-eth authored Oct 12, 2023
2 parents 8c74bb7 + 747a6e2 commit 52fafd8
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 52fafd8

Please sign in to comment.