DEV Community

Discussion on: How to create a resell token functionality in your NFT marketplace smart contract

Collapse
 
kanishksharma8 profile image
KanishkSharma8

Hey! the code works well till the NFT is relisted for selling. But when I try to buy that relisted NFT it gives me this error..
code: -32603, message: 'Internal JSON-RPC error.'
data: {code: -32603, message: 'Error: Transaction reverted: function call failed to execute'}
Please help I have been stuck on it.. tried every solution there is.. Is there something that I'm missing?