diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 190bae292..f6d81ed5e 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: rust: - - version: 1.60.0 # STABLE + - version: 1.65.0 # STABLE clippy: true - version: 1.56.1 # MSRV features: diff --git a/src/descriptor/policy.rs b/src/descriptor/policy.rs index 964ec2911..581c7b9db 100644 --- a/src/descriptor/policy.rs +++ b/src/descriptor/policy.rs @@ -1197,7 +1197,7 @@ mod test { assert!(matches!(&policy.item, EcdsaSignature(PkOrF::Fingerprint(f)) if f == &fingerprint)); assert!( - matches!(&policy.contribution, Satisfaction::Complete {condition} if condition.csv == None && condition.timelock == None) + matches!(&policy.contribution, Satisfaction::Complete {condition} if condition.csv.is_none() && condition.timelock.is_none()) ); } @@ -1360,7 +1360,7 @@ mod test { assert!(matches!(policy.item, EcdsaSignature(PkOrF::Fingerprint(f)) if f == fingerprint)); assert!( - matches!(policy.contribution, Satisfaction::Complete {condition} if condition.csv == None && condition.timelock == None) + matches!(policy.contribution, Satisfaction::Complete {condition} if condition.csv.is_none() && condition.timelock.is_none()) ); } diff --git a/src/wallet/mod.rs b/src/wallet/mod.rs index c400c5a4d..bf0f92f49 100644 --- a/src/wallet/mod.rs +++ b/src/wallet/mod.rs @@ -1686,6 +1686,7 @@ where } /// Sync the internal database with the blockchain + #[allow(clippy::await_holding_refcell_ref)] // TODO this will be fixed in bdk 1.0 #[maybe_async] pub fn sync( &self,