js icon indicating copy to clipboard operation
js copied to clipboard

Incorrect Account Owner for some transfer

Open bguillaumat opened this issue 2 years ago • 0 comments

Hey, added the new SDK usage to handle NFTs transfer but encountered a case where the log onchain are saying "Incorrect account owner"! After different test it seems to happen on NFT with model = SFT but having a tokenStandard being null (so representing NonFungible)

Curious if its voluntary or not because that mean right now to use your SDK and handle this case I need to do:

if (mutableNFT.model === "sft" && !mutableNFT.tokenStandard)
    mutableNFT.tokenStandard = TokenStandard.FungibleAsset

bguillaumat avatar Mar 01 '23 23:03 bguillaumat