mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Make claim_funds_INTERNAL private
This commit is contained in:
parent
bdd77ae1fa
commit
d7c1cfcc22
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue