diff --git a/Cargo.lock b/Cargo.lock index 28820252..1eab10ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -468,7 +468,7 @@ dependencies = [ [[package]] name = "bp-wallet" version = "0.11.0-beta.8" -source = "git+https://github.com/BP-WG/bp-wallet?branch=develop#1acf19e7cf7cfa089f271d80baaa27cdfe1acadf" +source = "git+https://github.com/BP-WG/bp-wallet?branch=develop#d1b94f2f22d84c8561b89da6920331f846b48a25" dependencies = [ "amplify", "base64", diff --git a/src/filters.rs b/src/filters.rs index 1238adc5..2cdbd44b 100644 --- a/src/filters.rs +++ b/src/filters.rs @@ -80,6 +80,6 @@ impl<'a, K, D: DescriptorRgb, L2: Layer2> AssignmentsFilter fn should_include(&self, _: impl Into, witness_id: Option) -> bool { self.0 .history() - .any(|row| witness_id == Some(XChain::Bitcoin(row.txid))) + .any(|row| !row.our_inputs.is_empty() && witness_id == Some(XChain::Bitcoin(row.txid))) } }