projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e4fab0
)
Increase visibility of script helper
author
Antoine Riard
<dev@ariard.me>
Thu, 10 Nov 2022 16:04:58 +0000
(11:04 -0500)
committer
Antoine Riard
<dev@ariard.me>
Wed, 30 Nov 2022 00:50:30 +0000
(19:50 -0500)
lightning/src/ln/chan_utils.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/chan_utils.rs
b/lightning/src/ln/chan_utils.rs
index 1af0aae30ad756450137ca7c68fa0bf1d4bf2418..58ac2501f73d22e3a39d305102c3f86a996616af 100644
(file)
--- a/
lightning/src/ln/chan_utils.rs
+++ b/
lightning/src/ln/chan_utils.rs
@@
-713,7
+713,7
@@
pub fn build_htlc_transaction(commitment_txid: &Txid, feerate_per_kw: u32, conte
/// Gets the witnessScript for the to_remote output when anchors are enabled.
#[inline]
-pub
(crate)
fn get_to_countersignatory_with_anchors_redeemscript(payment_point: &PublicKey) -> Script {
+pub fn get_to_countersignatory_with_anchors_redeemscript(payment_point: &PublicKey) -> Script {
Builder::new()
.push_slice(&payment_point.serialize()[..])
.push_opcode(opcodes::all::OP_CHECKSIGVERIFY)