diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-24 01:50:04 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-04-24 01:50:04 +0100 |
commit | ee215982330c2670308e234429dd496d7f655c8f (patch) | |
tree | 0dfb050047a32da7f0777c18a645398da8ac31c6 | |
parent | b125bde9e4c8955fcfb6aae8ce9def13bfff726e (diff) | |
download | sentrum-ee215982330c2670308e234429dd496d7f655c8f.tar.gz sentrum-ee215982330c2670308e234429dd496d7f655c8f.tar.bz2 sentrum-ee215982330c2670308e234429dd496d7f655c8f.zip |
Add MessageParams::wallet() getter
-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)] |