From 80bd412128ca7581ceb47ea222d25a2ae739d309 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 22 Jan 2019 12:11:14 -0500 Subject: [PATCH] Move import to global --- src/ln/functional_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ln/functional_tests.rs b/src/ln/functional_tests.rs index 23c988d97..3838ea105 100644 --- a/src/ln/functional_tests.rs +++ b/src/ln/functional_tests.rs @@ -21,6 +21,7 @@ use util::errors::APIError; use util::logger::Logger; use util::ser::{Writeable, Writer, ReadableArgs}; use util::config::UserConfig; +use util::rng; use bitcoin::util::hash::{BitcoinHash, Sha256dHash}; use bitcoin::util::bip143; @@ -6767,7 +6768,6 @@ fn test_update_add_htlc_bolt2_receiver_sender_can_afford_amount_sent() { #[test] fn test_update_add_htlc_bolt2_receiver_check_max_htlc_limit() { - use util::rng; let secp_ctx = Secp256k1::new(); //BOLT 2 Requirement: if a sending node adds more than its max_accepted_htlcs HTLCs to its local commitment transaction: SHOULD fail the channel -- 2.39.5