diff --git a/zcash_client_sqlite/src/lib.rs b/zcash_client_sqlite/src/lib.rs index c27bbcdb47..d64f2b3d75 100644 --- a/zcash_client_sqlite/src/lib.rs +++ b/zcash_client_sqlite/src/lib.rs @@ -87,6 +87,10 @@ pub struct WalletDb

{ } impl WalletDb

{ + pub fn sql_conn(&self) -> &Connection { + &self.conn + } + /// Construct a connection to the wallet database stored at the specified path. pub fn for_path>(path: F, params: P) -> Result { Connection::open(path).map(move |conn| WalletDb { conn, params })