From d7c1cfcc22a11a65547c5c6e611a1f8f1584b440 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 24 Jul 2018 22:31:52 -0400 Subject: [PATCH] Make claim_funds_INTERNAL private --- src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ln/channelmanager.rs b/src/ln/channelmanager.rs index 8eb91ea5d..c674c2696 100644 --- a/src/ln/channelmanager.rs +++ b/src/ln/channelmanager.rs @@ -961,7 +961,7 @@ impl ChannelManager { pub fn claim_funds(&self, payment_preimage: [u8; 32]) -> bool { self.claim_funds_internal(payment_preimage, true) } - pub fn claim_funds_internal(&self, payment_preimage: [u8; 32], from_user: bool) -> bool { + fn claim_funds_internal(&self, payment_preimage: [u8; 32], from_user: bool) -> bool { let mut sha = Sha256::new(); sha.input(&payment_preimage); let mut payment_hash = [0; 32]; -- 2.39.5