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

Method struct_name

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

Source from the content-addressed store, hash-verified

397 return "{}_{}".format(self.enum_prefix, name).upper()
398
399 def struct_name(self):
400 if self.struct_prefix:
401 return self.struct_prefix + "_" + self.name
402 return self.name
403
404 def add_if(self, if_token):
405 self.if_token = if_token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected