Skip to content

Commit

Permalink
fix: pendingOwnershipDelegatee should return correctly when startDele…
Browse files Browse the repository at this point in the history
…gateOwnership is called after the previous delegation has expired
  • Loading branch information
thaixuandang committed Sep 23, 2024
1 parent 32401f3 commit d5abf45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/REP15.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ abstract contract REP15 is ERC721, IREP15, IREP15Errors {

$delegation.delegatee = delegatee;
$delegation.until = until;
$delegation.delegated = false;

emit OwnershipDelegationStarted(tokenId, delegatee, until);
}
Expand Down

0 comments on commit d5abf45

Please sign in to comment.