Closed luke-z closed 5 months ago
Thanks for pointing this out. The implementation is missing for opening a wallet, whereas it's supported when creating a wallet.
I'll fix this in the next release, but in the meantime, you can call await wallet.setConnectionManager(manager)
after opening the wallet to avoid manually listening for connection changes.
Awesome, thank you for the workaround!
This is now fixed in the last release. Thanks for reporting it. :)
Thank you for the quick fix :)
Hello
I'm currently building an app where payment with Monero will be accepted. For this I'm using the monero-ts package to validate and track transactions.
When playing around I noticed, that opening a previously created wallet I can't use a connectionManager.
Here's how I'm creating and opening the wallets:
Create if wallet does not exist:
Open if it exists:
The error I receive:
The way I'm currently solving it is:
What I'm using:
Bun: 1.0.22 Node: 20.11.0 monero-ts: 0.9.5
I don't know if that is a bug or not since the connectionManager exists on the openWalletFull config object.
Best regards Lukas