Clean up is_mine method body
This commit is contained in:
parent
2c4c64515f
commit
3be2c0495f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user