mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Payment protocol: add PaymentSession.getNetworkParameters method.
This commit is contained in:
parent
8e61a2027f
commit
af07acd1b6
@ -529,6 +529,11 @@ public class PaymentSession {
|
||||
}
|
||||
}
|
||||
|
||||
/** Gets the params as read from the PaymentRequest.network field: main is the default if missing. */
|
||||
public NetworkParameters getNetworkParameters() {
|
||||
return params;
|
||||
}
|
||||
|
||||
/** Returns the protobuf that this object was instantiated with. */
|
||||
public Protos.PaymentRequest getPaymentRequest() {
|
||||
return paymentRequest;
|
||||
|
Loading…
Reference in New Issue
Block a user