Skip to content

Commit 1889182

Browse files
committed
f Fix warning for now
1 parent a919af3 commit 1889182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ where
116116
Ok(address_info.address)
117117
}
118118

119+
#[cfg(any(test))]
119120
pub(crate) fn get_balance(&self) -> Result<bdk::Balance, Error> {
120121
Ok(self.inner.lock().unwrap().get_balance()?)
121122
}

0 commit comments

Comments
 (0)