mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Fix failed trades view when contract is null
This commit is contained in:
parent
15abe71dd3
commit
8f6dff604b
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ class FailedTradesDataModel extends ActivatableDataModel {
|
|||
}
|
||||
|
||||
private boolean isTradeWithSameCurrentNodeAddress(Trade trade) {
|
||||
if (trade.getContract() == null) return false;
|
||||
NodeAddress tradeNodeAddress = trade.getContract().getMyNodeAddress(keyRing.getPubKeyRing());
|
||||
return Objects.equals(p2PService.getNetworkNode().getNodeAddress(), tradeNodeAddress);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue