mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-04 21:29:48 -04:00
Fix nullpointer
This commit is contained in:
parent
32e1a5a3ac
commit
e73d0cb104
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class FiatAccountsDataModel extends ActivatableDataModel {
|
|||
.isPresent();
|
||||
isPaymentAccountUsed = isPaymentAccountUsed || tradeManager.getTrades().stream()
|
||||
.filter(t -> t.getOffer().getOffererPaymentAccountId().equals(paymentAccount.getId()) ||
|
||||
t.getTakerPaymentAccountId().equals(paymentAccount.getId()))
|
||||
paymentAccount.getId().equals(t.getTakerPaymentAccountId()))
|
||||
.findAny()
|
||||
.isPresent();
|
||||
if (!isPaymentAccountUsed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue