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

Method add_len_field

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

Source from the content-addressed store, hash-verified

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

Callers 1

add_data_fieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected