MyHbarWallet icon indicating copy to clipboard operation
MyHbarWallet copied to clipboard

Error when sending NFTs

Open ghost opened this issue 4 years ago • 1 comments

Description

Me and other users tried to send NFTs via MyHbarWallet but it outputs an error message:

"receipt for transaction [email protected] contained error status ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON"

Steps to reproduce

Send a non fungible token.

Additional context

Capture

Hedera network

mainnet

Version

v0.6.6+cd7e34ac

Operating system

Windows

ghost avatar Jan 01 '22 23:01 ghost

Okay so I think I have found out what is causing this issue, myhbarwallet calls addTokenTransfer on every single transaction added to the lists of transactions that are not hbar transactions, now when someone tries to do an nft transaction, myhbarwallet should know if it is an nft and call addNftTransfer, but right now it doesn't. I may be reading things incorrectly, but that's what I understand reading this function that handles the transaction

kgurnani avatar Jan 21 '22 04:01 kgurnani