From 6344d6454a7229b6cf68f7b3097f7e965899a0d3 Mon Sep 17 00:00:00 2001 From: Sosthene Date: Tue, 24 Jun 2025 17:03:49 +0200 Subject: [PATCH] Add get_sp_wallet to Device --- src/device.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/device.rs b/src/device.rs index 33d3f61..54d430c 100644 --- a/src/device.rs +++ b/src/device.rs @@ -33,6 +33,10 @@ impl Device { } } + pub fn get_sp_wallet(&self) -> &SpWallet { + &self.sp_wallet + } + pub fn get_sp_client(&self) -> &SpClient { self.sp_wallet.get_sp_client() }