iotaledger / iota-sdk

The IOTA SDK provides developers with a seamless experience to develop on IOTA by providing account abstractions and clients to interact with node APIs.
Apache License 2.0
59 stars 41 forks source link

Improve tx error without account #2127

Closed Thoralf-M closed 7 months ago

Thoralf-M commented 8 months ago

Running https://github.com/iotaledger/iota-sdk/blob/2.0/bindings/nodejs/examples/how_tos/account_output/create.ts without an implicit account or account output before will silently fail in submit_transaction_payload() with Failed to submit_transaction_payload account not found and return a transaction id. It probably shouldn't create the transaction in the first place, but we still need to allow preparing txs when they will be submitted by someone else

thibault-martinez commented 7 months ago

Has been fixed already.