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

Small grammar fix in wire gen tool
This commit is contained in:
lisa neigut 2018-09-21 17:35:16 -07:00 committed by Christian Decker
parent 8455b12781
commit 3ce53ab9ed

View File

@ -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))