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

Function bech32_final_constant

common/bech32.c:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static uint32_t bech32_final_constant(bech32_encoding enc) {
40 if (enc == BECH32_ENCODING_BECH32) return 1;
41 if (enc == BECH32_ENCODING_BECH32M) return 0x2bc830a3;
42 assert(0);
43}
44
45const char bech32_charset[] = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";
46

Callers 2

bech32_encodeFunction · 0.85
bech32_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected