projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #928 from TheBlueMatt/2021-05-really-tlv-ser
[rust-lightning]
/
lightning
/
src
/
ln
/
chan_utils.rs
diff --git
a/lightning/src/ln/chan_utils.rs
b/lightning/src/ln/chan_utils.rs
index 48b5046cced72ce3a935d0b4c54856a57353272d..81b0df09607250d2a4a6c5c634c6d9fe2094a3e8 100644
(file)
--- a/
lightning/src/ln/chan_utils.rs
+++ b/
lightning/src/ln/chan_utils.rs
@@
-31,6
+31,7
@@
use bitcoin::secp256k1::{Secp256k1, Signature, Message};
use bitcoin::secp256k1::Error as SecpError;
use bitcoin::secp256k1;
use bitcoin::secp256k1::Error as SecpError;
use bitcoin::secp256k1;
+use prelude::*;
use core::cmp;
use ln::chan_utils;
use util::transaction_utils::sort_outputs;
use core::cmp;
use ln::chan_utils;
use util::transaction_utils::sort_outputs;
@@
-1246,6
+1247,7
@@
fn script_for_p2wpkh(key: &PublicKey) -> Script {
mod tests {
use super::CounterpartyCommitmentSecrets;
use hex;
mod tests {
use super::CounterpartyCommitmentSecrets;
use hex;
+ use prelude::*;
#[test]
fn test_per_commitment_storage() {
#[test]
fn test_per_commitment_storage() {