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

Function scripteq

bitcoin/script.c:986–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986bool scripteq(const u8 *s1, const u8 *s2)
987{
988 size_t s1_len = tal_count(s1), s2_len = tal_count(s2);
989 memcheck(s1, s1_len);
990 memcheck(s2, s2_len);
991 return memeq(s1, s1_len, s2, s2_len);
992}

Callers 3

mainFunction · 0.85
negotiated_close_feeFunction · 0.85
close_tx_checkFunction · 0.85

Calls 1

memeqFunction · 0.85

Tested by 1

mainFunction · 0.68