From: Matt Corallo Date: Sat, 11 May 2024 15:55:36 +0000 (+0000) Subject: Use prelude by universal import, rather than single import X-Git-Tag: v0.0.124-beta~121^2~5 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=5c21ee98a853027f9231be0b8309a3d111de2d0c;p=rust-lightning Use prelude by universal import, rather than single import This avoids the bindings trying to figure out what a `lightning::prelude::Vec` is rather than matching it as a `Vec`. --- diff --git a/lightning/src/util/sweep.rs b/lightning/src/util/sweep.rs index 513554968..dd26a8ef8 100644 --- a/lightning/src/util/sweep.rs +++ b/lightning/src/util/sweep.rs @@ -14,7 +14,7 @@ use crate::chain::{self, BestBlock, Confirm, Filter, Listen, WatchedOutput}; use crate::io; use crate::ln::msgs::DecodeError; use crate::ln::types::ChannelId; -use crate::prelude::Vec; +use crate::prelude::*; use crate::sign::{ChangeDestinationSource, OutputSpender, SpendableOutputDescriptor}; use crate::sync::Mutex; use crate::util::logger::Logger;