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

Function main

common/test/run-version.c:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12/* AUTOGENERATED MOCKS END */
13
14int main(int argc, char *argv[])
15{
16 common_setup(argv[0]);
17
18 assert(cmp_release_version("v22.11"));
19 assert(cmp_release_version("v22.11.1"));
20 assert(cmp_release_version("v22.11.1-6-gdf29990-modded") == false);
21
22 common_shutdown();
23}

Callers

nothing calls this directly

Calls 3

common_setupFunction · 0.85
cmp_release_versionFunction · 0.85
common_shutdownFunction · 0.85

Tested by

no test coverage detected