mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
generate-wire.py: allow hex values in csv files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
bdaa22e247
commit
ba9e4f9377
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ for line in fileinput.input(args[2:]):
|
|||
|
||||
if len(parts) == 2:
|
||||
# eg commit_sig,132
|
||||
messages[parts[0]] = Message(parts[0],Enumtype("WIRE_" + parts[0].upper(), int(parts[1])),comments)
|
||||
messages[parts[0]] = Message(parts[0],Enumtype("WIRE_" + parts[0].upper(), int(parts[1],0)),comments)
|
||||
comments=[]
|
||||
else:
|
||||
# eg commit_sig,0,channel-id,8
|
||||
|
|
Loading…
Add table
Reference in a new issue