-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broadcast of multiple destination tx fails #151
Comments
Hi @riccardorispoli can you confirm if you are running the script as it is written? The issue you would face, is around input selection, the creation of the two transactions, the singe and double will use the same inputs and so will create fine but the second will fail when broadcast. I would try the double destination on its own or you may need to do improved input selection. If you still dont come right with the single broadcast, we can look a bit deeper with you. |
@devinpearson I can confirm that I'm running the script I wrote down. I tried also crafting and broadcasting the double destination only, but it still fails. Single transaction though works fine, as stated in my first message. Note that I'm using the same It seems that the problem doesn't concern broadcasting, but rather transaction crafting. Crafting a transaction with monero-ts library, for example (although it's a different flow and not suitable with my use case since in my project I will have to rely on lws outputs only) and using |
@devinpearson I have more insights about the error. This is the error output from LWS when I try to broadcast the multiple destination transaction:
It seems that the |
@riccardorispoli take a look here for an example of upping the fee. its not the best way of doing it but it will get you over the line. i think currently the fees are coming in low and only considering one input.
|
@devinpearson So are you implying that the problem is on LWS side (and thus the |
Description
On stagenet, I'm not able to broadcast (using LWS) transactions with multiple destinations crafted with
@mymonero/mymonero-monero-client
. Destination addresses are not integrated addresses and I have not specified apaymentId
(following what's written here). I can also confirm that I have enough unlocked balance for the transaction.Steps to reproduce
Run this code snippet replacing placeholders with your wallet keys and primary address.
Expected behavior:
Both transactions working properly.
Actual behavior:
Transaction with multiple destinations fails to broadcast.
Versions
^3.0.0
^3.0.0
^1.5.1
The text was updated successfully, but these errors were encountered: