Skip to content

Commit d7c1cfc

Browse files
committed
Make claim_funds_INTERNAL private
1 parent bdd77ae commit d7c1cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ impl ChannelManager {
961961
pub fn claim_funds(&self, payment_preimage: [u8; 32]) -> bool {
962962
self.claim_funds_internal(payment_preimage, true)
963963
}
964-
pub fn claim_funds_internal(&self, payment_preimage: [u8; 32], from_user: bool) -> bool {
964+
fn claim_funds_internal(&self, payment_preimage: [u8; 32], from_user: bool) -> bool {
965965
let mut sha = Sha256::new();
966966
sha.input(&payment_preimage);
967967
let mut payment_hash = [0; 32];

0 commit comments

Comments
 (0)