Skip to content

Commit

Permalink
Clean up is_mine method body
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed May 15, 2023
1 parent 2c4c645 commit 3be2c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdk-ffi/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl Wallet {

/// Return whether or not a script is part of this wallet (either internal or external).
pub(crate) fn is_mine(&self, script: Arc<Script>) -> Result<bool, BdkError> {
Ok(self.get_wallet().is_mine(&script.script).unwrap())
self.get_wallet().is_mine(&script.script)
}

/// Sync the internal database with the blockchain.
Expand Down

0 comments on commit 3be2c04

Please sign in to comment.