Change to stable Rust 1.52

Fix clippy warnings that are new in this version.
pull/536/head
Thomas Eizinger 3 years ago
parent 5d7acd39ee
commit 8f9d612af2
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -1,4 +1,4 @@
[toolchain] [toolchain]
channel = "nightly-2021-01-31" channel = "1.52"
components = ["clippy"] components = ["clippy"]
targets = ["armv7-unknown-linux-gnueabihf"] targets = ["armv7-unknown-linux-gnueabihf"]

@ -353,7 +353,7 @@ async fn register_tor_services(
} }
}) })
}) })
.filter_map(|details| details) .flatten()
.collect::<Vec<_>>(); .collect::<Vec<_>>();
let key = seed.derive_torv3_key(); let key = seed.derive_torv3_key();

@ -308,8 +308,8 @@ impl State2 {
let tx_cancel_sig = self.a.sign(tx_cancel.digest()); let tx_cancel_sig = self.a.sign(tx_cancel.digest());
Message3 { Message3 {
tx_refund_encsig,
tx_cancel_sig, tx_cancel_sig,
tx_refund_encsig,
} }
} }

Loading…
Cancel
Save