From: Matt Corallo Date: Wed, 25 Jul 2018 02:31:52 +0000 (-0400) Subject: Make claim_funds_INTERNAL private X-Git-Tag: v0.0.12~369^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=refs%2Fheads%2F2018-07-event-fixes;p=rust-lightning Make claim_funds_INTERNAL private --- 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];