Skip to content

Commit

Permalink
fixup! channeld: Verify the signature sent by the counterparty
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzopalazzo committed Jul 25, 2023
1 parent 797d62f commit bdb2eba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,9 +1326,7 @@ def no_more_blocks(req):
bitcoind.generate_block(1)
l1.daemon.wait_for_log(r'Peer transient failure .* short_channel_id changed to 104x1x0 \(was 103x1x0\)')

wait_for(lambda: only_one(l2.rpc.listpeerchannels()['channels'])['status'] == [
'CHANNELD_NORMAL:Reconnected, and reestablished.',
'CHANNELD_NORMAL:Channel ready for use. They need our announcement signatures.'])
l2.daemon.wait_for_logs([r'Peer transient failure in CHANNELD_NORMAL: channeld WARNING: Bad node_signature*'])

# Unblinding l2 brings it back in sync, restarts channeld and sends its announce sig
l2.daemon.rpcproxy.mock_rpc('getblockhash', None)
Expand Down

0 comments on commit bdb2eba

Please sign in to comment.