rust-lightning/lightning
Matt Corallo ddebf36eae Actually hold the total_consistency_lock instead of take-and-drop
It was noticed (via clippy) by @casey that we were taking and then
immediately dropping the total_consistency_lock because `let _ =`
doesn't actually bind the response to anything. This appears to be
a consequence of wanting `if let Some(_) =` to not hold a ref to
the contained value at all, but is relatively surprising to me.
2020-10-02 12:51:25 -04:00
..
src Actually hold the total_consistency_lock instead of take-and-drop 2020-10-02 12:51:25 -04:00
Cargo.toml Update to latest upstream rust-bitcoin 2020-09-10 16:20:01 -04:00