mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
gossipd: feed lightningd the channel_updates as soon as we make them.
Even if we're deferring putting them in the store and broadcasting them, we tell lightningd so it will use it in any error messages. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1091,7 +1091,9 @@ def test_funding_reorg_private(node_factory, bitcoind):
|
||||
# Rescan to detect reorg at restart and may_reconnect so channeld
|
||||
# will restart. Reorg can cause bad gossip msg.
|
||||
opts = {'funding-confirms': 2, 'rescan': 10, 'may_reconnect': True,
|
||||
'allow_bad_gossip': True}
|
||||
'allow_bad_gossip': True,
|
||||
# gossipd send lightning update for original channel.
|
||||
'allow_broken_log': True}
|
||||
l1, l2 = node_factory.line_graph(2, fundchannel=False, opts=opts)
|
||||
l1.fundwallet(10000000)
|
||||
sync_blockheight(bitcoind, [l1]) # height 102
|
||||
|
||||
Reference in New Issue
Block a user