From ee215982330c2670308e234429dd496d7f655c8f Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 24 Apr 2024 01:50:04 +0100 Subject: Add MessageParams::wallet() getter --- src/message.rs | 4 ++++ 1 file changed, 4 insertions(+) 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)] -- cgit v1.2.3-70-g09d2