mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-31 10:49:19 -04:00
Fix null pointer
This commit is contained in:
parent
e73d0cb104
commit
5a1b95668f
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class AltCoinAccountsDataModel extends ActivatableDataModel {
|
||||||
.isPresent();
|
.isPresent();
|
||||||
isPaymentAccountUsed = isPaymentAccountUsed || tradeManager.getTrades().stream()
|
isPaymentAccountUsed = isPaymentAccountUsed || tradeManager.getTrades().stream()
|
||||||
.filter(t -> t.getOffer().getOffererPaymentAccountId().equals(paymentAccount.getId()) ||
|
.filter(t -> t.getOffer().getOffererPaymentAccountId().equals(paymentAccount.getId()) ||
|
||||||
t.getTakerPaymentAccountId().equals(paymentAccount.getId()))
|
paymentAccount.getId().equals(t.getTakerPaymentAccountId()))
|
||||||
.findAny()
|
.findAny()
|
||||||
.isPresent();
|
.isPresent();
|
||||||
if (!isPaymentAccountUsed)
|
if (!isPaymentAccountUsed)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue