hashgraph / MyHbarWallet

🟩 MyHbarWallet is a free, client-side interface helping you interact with Hedera™ Hashgraph.
https://myhbarwallet.com/
Apache License 2.0
71 stars 44 forks source link

Error when sending NFTs #571

Open ghost opened 2 years ago

ghost commented 2 years ago

Description

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

"receipt for transaction 0.0.0@1641077830.83615011 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

kgurnani commented 2 years ago

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