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

Function check_new_log

tests/test_misc.py:1998–2001  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1996 assert log1[-1].endswith("Ending log due to SIGHUP\n")
1997
1998 def check_new_log():
1999 with open(logpath) as f:
2000 log2 = f.readlines()
2001 return len(log2) > 0 and log2[0].endswith("Started log due to SIGHUP\n")
2002 wait_for(check_new_log)
2003
2004 # Issue #4240

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected