MCPcopy Create free account
hub / github.com/ElementsProject/lightning / add_len_field

Method add_len_field

tools/generate-wire.py:68–73  ·  view source on GitHub ↗
(self, len_field)

Source from the content-addressed store, hash-verified

66 self.count = int(count)
67
68 def add_len_field(self, len_field):
69 self.count = False
70 # we cache our len-field's name
71 self.len_field = len_field.name
72 # the len-field caches our name
73 len_field.len_field_of = self.name
74
75 def add_implicit_len(self):
76 self.count = False

Callers 1

add_data_fieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected