mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
Fix access to undefined variable
This commit is contained in:
committed by
Christian Decker
parent
bfce5b41f9
commit
5123c4e059
@@ -455,7 +455,7 @@ for line in fileinput.input(options.files):
|
|||||||
# commit_sig,0,channel-id,u64
|
# commit_sig,0,channel-id,u64
|
||||||
m = find_message(messages, parts[0])
|
m = find_message(messages, parts[0])
|
||||||
if m is None:
|
if m is None:
|
||||||
raise ValueError('Unknown message {}'.format(name))
|
raise ValueError('Unknown message {}'.format(parts[0]))
|
||||||
elif len(parts) == 5:
|
elif len(parts) == 5:
|
||||||
# eg.
|
# eg.
|
||||||
# channel_reestablish,48,your_last_per_commitment_secret,32,option209
|
# channel_reestablish,48,your_last_per_commitment_secret,32,option209
|
||||||
|
|||||||
Reference in New Issue
Block a user