projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs improvements
[rust-lightning]
/
lightning
/
src
/
util
/
transaction_utils.rs
diff --git
a/lightning/src/util/transaction_utils.rs
b/lightning/src/util/transaction_utils.rs
index 028a08345edebaa867bead864cfda7198b218924..db1460283324c9cedb247cbb7758e76230a5e289 100644
(file)
--- a/
lightning/src/util/transaction_utils.rs
+++ b/
lightning/src/util/transaction_utils.rs
@@
-12,10
+12,10
@@
use bitcoin::blockdata::script::Script;
use bitcoin::consensus::Encodable;
use bitcoin::consensus::encode::VarInt;
use bitcoin::consensus::Encodable;
use bitcoin::consensus::encode::VarInt;
-use ln::msgs::MAX_VALUE_MSAT;
+use
crate::
ln::msgs::MAX_VALUE_MSAT;
-use prelude::*;
-use io_extras::sink;
+use
crate::
prelude::*;
+use
crate::
io_extras::sink;
use core::cmp::Ordering;
pub fn sort_outputs<T, C : Fn(&T, &T) -> Ordering>(outputs: &mut Vec<(TxOut, T)>, tie_breaker: C) {
use core::cmp::Ordering;
pub fn sort_outputs<T, C : Fn(&T, &T) -> Ordering>(outputs: &mut Vec<(TxOut, T)>, tie_breaker: C) {