-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix emergency payout #4859
Fix emergency payout #4859
Conversation
utACK |
@jmacxx thanks for testing this. |
Segwit test
Legacy test
|
@jmacxx do you have the logs of the mediator at the time you click "Sign and publish transaction" for the segwit use case? do you have bitcoin regtest logs? |
@jmacxx are you using default security deposits? If you do, the expected payouts are 0.0115 and 0.0015 |
Yes default security deposit is 0.006 for a 0.01 trade. Its the minimum security deposit. Payouts are 0.006 for seller and 0.016 for buyer. Here's what appears in the mediator's log (regtest). The transaction does not show up in the blockchain.
|
Ok got it to work... had to make the Tx fee equal to the amount left over in the UTXO it is spending... in this example it had to be 0.00003388. Strange that it still worked in legacy tx though. Anyway, sorry for bothering you. |
you are right about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Fixes #4854