Skip to content

Commit

Permalink
tools/gen-wire: 3th -> 3rd
Browse files Browse the repository at this point in the history
Small grammar fix in wire gen tool
  • Loading branch information
niftynei authored and cdecker committed Sep 22, 2018
1 parent 8455b12 commit 3ce53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-wire.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def print_fromwire(self, is_header):
.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))
Expand Down

0 comments on commit 3ce53ab

Please sign in to comment.