mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01: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