diff options
-rw-r--r-- | src/message.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message.rs b/src/message.rs index 1f22779..9e6091f 100644 --- a/src/message.rs +++ b/src/message.rs @@ -77,6 +77,10 @@ impl<'a, 'b> MessageParams<'a, 'b> { pub fn network(&self) -> Network { self.network } + + pub fn wallet(&self) -> &str { + self.wallet + } } #[derive(Deserialize, Debug, PartialEq, Copy, Clone)] |