** (MatchError) no match of right hand side value:

I’m getting this error over this command:

[Wallet3, Wallet2, Wallet1] = Wallets.list_wallets([limit: 3])

However I’m getting my result accurately in error form. Getting these all wallets list. But I don’t know whats not matching in this command. Don’t know why the results are in error form.

1 Like

Variable names must start with lowercase letters: [wallet2, wallet2, wallet1]. Uppercase identifiers are atoms.

Also, limit: 3 returns at most three results, so if there are less than three wallets, this can still fail.