mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-16 16:24:29 -05:00
assign payout tx id on submit
This commit is contained in:
parent
4ae45a8127
commit
ba2bf262ce
1 changed files with 2 additions and 1 deletions
|
|
@ -1673,7 +1673,8 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
|
||||||
boolean doPublish = publish && !isPayoutPublished();
|
boolean doPublish = publish && !isPayoutPublished();
|
||||||
if (doPublish) {
|
if (doPublish) {
|
||||||
try {
|
try {
|
||||||
wallet.submitMultisigTxHex(getPayoutTxHex());
|
List<String> payoutTxIds = wallet.submitMultisigTxHex(getPayoutTxHex());
|
||||||
|
payoutTxId = payoutTxIds.get(0);
|
||||||
setPayoutStatePublished();
|
setPayoutStatePublished();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (!isPayoutPublished()) {
|
if (!isPayoutPublished()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue