mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Only apply filter result for PaymentAccountPayloads if it is available
This commit is contained in:
parent
c15958a94d
commit
544aa7c2a0
1 changed files with 4 additions and 2 deletions
|
@ -464,11 +464,13 @@ public abstract class DisputeView extends ActivatableView<VBox, Void> implements
|
|||
return FilterResult.SELLER_NODE_ADDRESS;
|
||||
}
|
||||
|
||||
if (dispute.getContract().getBuyerPaymentAccountPayload().getPaymentDetails().toLowerCase().contains(filter)) {
|
||||
if (dispute.getContract().getBuyerPaymentAccountPayload() != null &&
|
||||
dispute.getContract().getBuyerPaymentAccountPayload().getPaymentDetails().toLowerCase().contains(filter)) {
|
||||
return FilterResult.BUYER_ACCOUNT_DETAILS;
|
||||
}
|
||||
|
||||
if (dispute.getContract().getSellerPaymentAccountPayload().getPaymentDetails().toLowerCase().contains(filter)) {
|
||||
if (dispute.getContract().getSellerPaymentAccountPayload() != null &&
|
||||
dispute.getContract().getSellerPaymentAccountPayload().getPaymentDetails().toLowerCase().contains(filter)) {
|
||||
return FilterResult.SELLER_ACCOUNT_DETAILS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue