diff --git a/src/wallet/mod.rs b/src/wallet/mod.rs index b8d1196d..b811662b 100644 --- a/src/wallet/mod.rs +++ b/src/wallet/mod.rs @@ -1447,6 +1447,11 @@ where Ok(()) } + + /// Return an immutable reference to the internal database + pub fn database(&self) -> impl std::ops::Deref + '_ { + self.database.borrow() + } } impl Wallet