@@ -747,6 +747,19 @@ err_out:
return cfg;
}
// Segwit BEGIN
void memrev(unsigned char *p, size_t len)
{
unsigned char c, *q;
for (q = p + len - 1; p < q; p++, q--) {
c = *p;
*p = *q;
*q = c;
// Segwit END
void cbin2hex(char *out, const char *in, size_t len)
if (out) {
The note is not visible to the blocked user.