projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd77ae
)
Make claim_funds_INTERNAL private
2018-07-event-fixes
author
Matt Corallo
<git@bluematt.me>
Wed, 25 Jul 2018 02:31:52 +0000
(22:31 -0400)
committer
Matt Corallo
<git@bluematt.me>
Wed, 25 Jul 2018 02:33:12 +0000
(22:33 -0400)
src/ln/channelmanager.rs
patch
|
blob
|
history
diff --git
a/src/ln/channelmanager.rs
b/src/ln/channelmanager.rs
index 8eb91ea5dc6e28b469dfb7967d84b450ff38fbeb..c674c269616febc6ad97f95c301ef72462f0d126 100644
(file)
--- 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];