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

Function scripteq

bitcoin/script.c:880–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880bool scripteq(const u8 *s1, const u8 *s2)
881{
882 memcheck(s1, tal_count(s1));
883 memcheck(s2, tal_count(s2));
884
885 if (tal_count(s1) != tal_count(s2))
886 return false;
887 return memcmp(s1, s2, tal_count(s1)) == 0;
888}

Callers 5

input_similarFunction · 0.85
wallet_can_spendFunction · 0.85
mainFunction · 0.85
check_funding_detailsFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68