Skip to content

Commit

Permalink
Add get_network getter to SilentPaymentAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
Sosthene00 authored and cygnet3 committed May 23, 2024
1 parent 629ca80 commit 79f9d00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sending.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 79f9d00

Please sign in to comment.