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

Function cmp_u64

plugins/renepay/mods.c:972–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970 */
971
972static int cmp_u64(const u64 *a, const u64 *b, void *unused)
973{
974 if (*a < *b)
975 return -1;
976 if (*a > *b)
977 return 1;
978 return 0;
979}
980
981static struct command_result *pendingsendpays_done(struct command *cmd,
982 const char *method UNUSED,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected