projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58febc3
)
Use prelude by universal import, rather than single import
author
Matt Corallo
<git@bluematt.me>
Sat, 11 May 2024 15:55:36 +0000
(15:55 +0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 13 May 2024 18:55:22 +0000
(18:55 +0000)
This avoids the bindings trying to figure out what a
`lightning::prelude::Vec` is rather than matching it as a `Vec`.
lightning/src/util/sweep.rs
patch
|
blob
|
history
diff --git
a/lightning/src/util/sweep.rs
b/lightning/src/util/sweep.rs
index 5135549689ca52731d2f9212278fd77c488f9068..dd26a8ef844c1a1d4a7bb8c4351481df6d5fe415 100644
(file)
--- 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;