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

Method needs_context

tools/generate-wire.py:171–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 return bool(self.len_fields)
170
171 def needs_context(self):
172 return any([field.needs_context() or field.is_optional for field in self.fields.values()])
173
174 def singleton(self):
175 """Return the single message, if there's only one, otherwise None"""

Callers

nothing calls this directly

Calls 2

anyClass · 0.50
needs_contextMethod · 0.45

Tested by

no test coverage detected