use bitcoin::blockdata::script::{Script, Builder};
use bitcoin::blockdata::transaction::TxOut;
- use bitcoin::util::hash::Sha256dHash;
+ use bitcoin::util::hash::Sha256dHash;
use hex::decode;
- #[test]
+ #[test]
fn sort_output_by_value() {
let txout1 = TxOut {
value: 100,
);
}
- #[test]
+ #[test]
fn sort_output_by_script_pubkey() {
let txout1 = TxOut {
value: 100,
);
}
- #[test]
+ #[test]
fn sort_output_by_bip_test() {
let txout1 = TxOut {
value: 100000000,
assert_eq!(outputs, expected);
}
- )*
+ )*
}
}