use ln::msgs::MAX_VALUE_MSAT;
+use prelude::*;
use core::cmp::Ordering;
pub fn sort_outputs<T, C : Fn(&T, &T) -> Ordering>(outputs: &mut Vec<(TxOut, T)>, tie_breaker: C) {
use hex::decode;
+ use alloc::vec;
+
#[test]
fn sort_output_by_value() {
let txout1 = TxOut {