diff --git a/src/sending.rs b/src/sending.rs index 4e3171f..d9b0d1a 100644 --- a/src/sending.rs +++ b/src/sending.rs @@ -52,6 +52,10 @@ impl SilentPaymentAddress { pub fn get_spend_key(&self) -> PublicKey { self.m_pubkey } + + pub fn get_network(&self) -> Network { + self.network + } } impl fmt::Display for SilentPaymentAddress {