mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +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. */
|
/** Returns the protobuf that this object was instantiated with. */
|
||||||
public Protos.PaymentRequest getPaymentRequest() {
|
public Protos.PaymentRequest getPaymentRequest() {
|
||||||
return paymentRequest;
|
return paymentRequest;
|
||||||
|
Loading…
Reference in New Issue
Block a user