mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
channeld: handle unexpected messages better.
In particular, decode error messages correctly and do the right thing with messages about other channels. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -917,7 +917,7 @@ class LightningDTests(BaseLightningDTests):
|
||||
closetxid = l1.bitcoin.rpc.getrawmempool(False)[0]
|
||||
|
||||
# "Internal error" in hex
|
||||
l1.daemon.wait_for_log('WIRE_ERROR.*496e7465726e616c206572726f72')
|
||||
l1.daemon.wait_for_log(r'ERROR.*Internal error')
|
||||
|
||||
# l2 will send out tx (l1 considers it a transient error)
|
||||
bitcoind.generate_block(1)
|
||||
|
||||
Reference in New Issue
Block a user