mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #6069 from jmacxx/5396_privacy_enhancement
[1.8.3 fix] Get payment method ID from offerPayload
This commit is contained in:
commit
d12a13b1a1
@ -298,8 +298,8 @@ public final class Contract implements NetworkPayload {
|
||||
}
|
||||
|
||||
public String getPaymentMethodId() {
|
||||
// Either makerPaymentMethodId is set or available in makerPaymentAccountPayload
|
||||
return makerPaymentMethodId != null ? makerPaymentMethodId : Objects.requireNonNull(makerPaymentAccountPayload).getPaymentMethodId();
|
||||
// Either makerPaymentMethodId is set or available in offerPayload
|
||||
return makerPaymentMethodId != null ? makerPaymentMethodId : Objects.requireNonNull(getOfferPayload()).getPaymentMethodId();
|
||||
}
|
||||
|
||||
public Coin getTradeAmount() {
|
||||
|
Loading…
Reference in New Issue
Block a user