iotaledger/iota.rs

Alias/NFT outputs included for no reason

Closed this issue · 2 comments

If I create an alias or NFT, then use try and send tokens to said Alias or NFT address it will do two unexpected things:

  • Return the n-1 transaction instead of the nth transaction.
  • Include the Alias or NFT in all subsequent transactions

This returning n-1 transaction seems to persist until destroying and recreating the account manager

Example

Transaction 1 - Create Alias:

Transaction 2 - Send to Alias

Transaction 3 - Send to Mark’s Alias

Also happens with NFTS

In the transaction 2 the alias might was included because its id was still the null id https://api.testnet.shimmer.network/api/core/v2/outputs/0x2b22a17006c2500d6725fbda269a6705f65d51c4b1389bbc0190b6e3032151ad0000
And in transaction 3 it was added to unlock the basic output which had an alias address in the unlock condition
image

Should be fixed by the new ISA.