mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
channel: Use min_cltv_expiry in the channel announcements
So far we were always using the deadline in the announcements, that's obviously not good, so this introduces the parameter as per spec. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
a44f893838
commit
641a3b64cf
@@ -689,11 +689,11 @@ class LightningDTests(BaseLightningDTests):
|
||||
|
||||
baseroute = [ { 'msatoshi' : amt + fee,
|
||||
'id' : l2.info['id'],
|
||||
'delay' : 10,
|
||||
'delay' : 12,
|
||||
'channel' : chanid1 },
|
||||
{ 'msatoshi' : amt,
|
||||
'id' : l3.info['id'],
|
||||
'delay' : 5,
|
||||
'delay' : 6,
|
||||
'channel' : chanid2 } ]
|
||||
|
||||
# Unknown other peer
|
||||
|
||||
Reference in New Issue
Block a user