mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
only print when outputs first confirm
This commit is contained in:
parent
fd9201f8c6
commit
68e0bba6ac
@ -730,7 +730,7 @@ public abstract class Trade implements Tradable, Model {
|
||||
if (depositTxListener == null) return;
|
||||
|
||||
// TODO (woodser): remove this
|
||||
if (output.getTx().isConfirmed() && (processModel.getMaker().getDepositTxHash().equals(output.getTx().getHash()) || processModel.getTaker().getDepositTxHash().equals(output.getTx().getHash()))) {
|
||||
if (output.getTx().isConfirmed() && output.getTx().isLocked() && (processModel.getMaker().getDepositTxHash().equals(output.getTx().getHash()) || processModel.getTaker().getDepositTxHash().equals(output.getTx().getHash()))) {
|
||||
System.out.println("Deposit output for tx " + output.getTx().getHash() + " is confirmed at height " + output.getTx().getHeight());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user