Return a modified msg that identifies this node by its index as a debugging aid.
(self, msg: str)
| 114 | return PRIV_KEYS[self.index] |
| 115 | |
| 116 | def _node_msg(self, msg: str) -> str: |
| 117 | """Return a modified msg that identifies this node by its index as a debugging aid.""" |
| 118 | return "[node %d] %s" % (self.index, msg) |
| 119 | |
| 120 | def _raise_assertion_error(self, msg: str): |
| 121 | """Raise an AssertionError with msg modified to identify this node.""" |
no outgoing calls
no test coverage detected