You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is code that appears to be intended to delete NFT offers if they're expired. I assume that that correlates with this tecEXPIRED code in the NFTokenAcceptOffer code.
However, if you actually trigger tecEXPIRED in NFTokenAcceptOffer, it doesn't delete the NFT.
This seems to be because the tecEXPIRED error is thrown in preclaim, not doApply, and the NFTs aren't actually deleted in the view, which is necessary for the
Note: there are tests that check for tecEXPIRED, but they don't actually do anything about checking that the offer is deleted.
The text was updated successfully, but these errors were encountered:
Issue Description
There is code that appears to be intended to delete NFT offers if they're expired. I assume that that correlates with this
tecEXPIRED
code in theNFTokenAcceptOffer
code.However, if you actually trigger
tecEXPIRED
inNFTokenAcceptOffer
, it doesn't delete the NFT.See https://testnet.xrpl.org/transactions/07C9D580608D754A69B812924B0C7965920E7120BBD0F0D469D60D9FFC3AB252/raw
Steps to Reproduce
Expected Result
I expect the expired NFT offer to be deleted.
Actual Result
The expired NFT offer is not deleted.
This seems to be because the
tecEXPIRED
error is thrown inpreclaim
, notdoApply
, and the NFTs aren't actually deleted in the view, which is necessary for theNote: there are tests that check for
tecEXPIRED
, but they don't actually do anything about checking that the offer is deleted.The text was updated successfully, but these errors were encountered: