Browse Source

tools/gen-wire: 3th -> 3rd

Small grammar fix in wire gen tool
json-streaming
lisa neigut 6 years ago
committed by Christian Decker
parent
commit
3ce53ab9ed
  1. 2
      tools/generate-wire.py

2
tools/generate-wire.py

@ -401,7 +401,7 @@ class Message(object):
.format(f.name, f.name, f.fieldtype.name,
basetype, f.name))
elif f.is_assignable():
subcalls.append("//3th case {name}".format(name=f.name))
subcalls.append("//3rd case {name}".format(name=f.name))
if f.is_len_var:
subcalls.append('{} = fromwire_{}(&cursor, &plen);'
.format(f.name, basetype))

Loading…
Cancel
Save