mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add more requestPersistence calls
This commit is contained in:
parent
255460e5d5
commit
6fb36dcd41
@ -72,7 +72,7 @@ public class BuyerAsTakerSendsDepositTxMessage extends TradeTask {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
log.error("processModel.getDepositTx() = " + processModel.getDepositTx());
|
log.error("processModel.getDepositTx() = {}", processModel.getDepositTx());
|
||||||
failed("DepositTx is null");
|
failed("DepositTx is null");
|
||||||
}
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
@ -48,6 +48,8 @@ public class SellerAsMakerFinalizesDepositTx extends TradeTask {
|
|||||||
|
|
||||||
processModel.setDepositTx(myDepositTx);
|
processModel.setDepositTx(myDepositTx);
|
||||||
|
|
||||||
|
processModel.getTradeManager().requestPersistence();
|
||||||
|
|
||||||
complete();
|
complete();
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
failed(t);
|
failed(t);
|
||||||
|
@ -41,6 +41,9 @@ public class SellerAsMakerSendsInputsForDepositTxResponse extends MakerSendsInpu
|
|||||||
// before we have received his signature for the delayed payout tx.
|
// before we have received his signature for the delayed payout tx.
|
||||||
input.setScriptSig(new Script(new byte[]{}));
|
input.setScriptSig(new Script(new byte[]{}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
processModel.getTradeManager().requestPersistence();
|
||||||
|
|
||||||
return preparedDepositTx.bitcoinSerialize();
|
return preparedDepositTx.bitcoinSerialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,6 +83,8 @@ public class SellerAsTakerSignsDepositTx extends TradeTask {
|
|||||||
// We set the deposit tx to trade once we have it published
|
// We set the deposit tx to trade once we have it published
|
||||||
processModel.setDepositTx(depositTx);
|
processModel.setDepositTx(depositTx);
|
||||||
|
|
||||||
|
processModel.getTradeManager().requestPersistence();
|
||||||
|
|
||||||
complete();
|
complete();
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
Contract contract = trade.getContract();
|
Contract contract = trade.getContract();
|
||||||
|
Loading…
Reference in New Issue
Block a user