Skip to content

Commit

Permalink
fix upgrading NFT to the correct address
Browse files Browse the repository at this point in the history
previously the market address would have been granted the NFT on mainnet
  • Loading branch information
Splidge committed Jun 21, 2021
1 parent a628ac8 commit b1920da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/RCMarket.sol
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ contract RCMarket is Initializable, NativeMetaTransaction, IRCMarket {
"Market is Paused"
);
uint256 _tokenId = _card + totalNftMintCount;
_transferCard(ownerOf(_card), address(this), _card); // contract becomes final resting place
nfthub.withdrawWithMetadata(_tokenId);
emit LogNftUpgraded(_card, _tokenId);
}
Expand Down

0 comments on commit b1920da

Please sign in to comment.