Skip to content

Commit 63bef2b

Browse files
committed
Make note about complying with BOLT 7 announcement_signatures
1 parent 7659877 commit 63bef2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ln/channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ impl Channel {
373373
}
374374

375375
fn derive_minimum_depth(_channel_value_satoshis_msat: u64, _value_to_self_msat: u64) -> u32 {
376+
// Note that in order to comply with BOLT 7 announcement_signatures requirements this must
377+
// be at least 6.
376378
const CONF_TARGET: u32 = 12; //TODO: Should be much higher
377379
CONF_TARGET
378380
}

0 commit comments

Comments
 (0)