Skip to content

Conversation

@longphu25
Copy link

Fix the Bug Submission Pull Request

What was the bug?

Received error executing Atomic Transaction Composer, for more information enable the debug flag TypeError: signer is not a function
Screenshot 2024-03-28 at 02 12 30
I check code :
Screenshot 2024-03-28 at 02 13 03

method addTransaction of AtomicTransactionComposer
Bug : Type 'Account' is not assignable to type 'TransactionSigner'.
type of sender is Account can not assignable to type of signer is TransactionSigner

How did you fix the bug?

I use with doc create

const transaction_signer = algosdk.makeBasicAccountTransactionSigner(sender)

Update 2 method addTransaction with signer: transaction_signer

Screenshot 2024-03-28 at 02 22 19

Console Screenshot:

Save and run , result show 👍🏼

Screenshot 2024-03-28 at 02 19 07

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved ✅ Successfully completed the challenge!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants