mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Fix some tab-space errors in #84
This commit is contained in:
parent
8ec816e72a
commit
7f4602596c
1 changed files with 5 additions and 5 deletions
|
@ -40,11 +40,11 @@ mod tests {
|
||||||
|
|
||||||
use bitcoin::blockdata::script::{Script, Builder};
|
use bitcoin::blockdata::script::{Script, Builder};
|
||||||
use bitcoin::blockdata::transaction::TxOut;
|
use bitcoin::blockdata::transaction::TxOut;
|
||||||
use bitcoin::util::hash::Sha256dHash;
|
use bitcoin::util::hash::Sha256dHash;
|
||||||
|
|
||||||
use hex::decode;
|
use hex::decode;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn sort_output_by_value() {
|
fn sort_output_by_value() {
|
||||||
let txout1 = TxOut {
|
let txout1 = TxOut {
|
||||||
value: 100,
|
value: 100,
|
||||||
|
@ -67,7 +67,7 @@ mod tests {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn sort_output_by_script_pubkey() {
|
fn sort_output_by_script_pubkey() {
|
||||||
let txout1 = TxOut {
|
let txout1 = TxOut {
|
||||||
value: 100,
|
value: 100,
|
||||||
|
@ -90,7 +90,7 @@ mod tests {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn sort_output_by_bip_test() {
|
fn sort_output_by_bip_test() {
|
||||||
let txout1 = TxOut {
|
let txout1 = TxOut {
|
||||||
value: 100000000,
|
value: 100000000,
|
||||||
|
@ -136,7 +136,7 @@ mod tests {
|
||||||
|
|
||||||
assert_eq!(outputs, expected);
|
assert_eq!(outputs, expected);
|
||||||
}
|
}
|
||||||
)*
|
)*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue