bech32 icon indicating copy to clipboard operation
bech32 copied to clipboard

Remove static on convert_bits

Open CarloMara opened this issue 5 years ago • 1 comments

Dear all,

I'm working on a C implementation of age and I need access to the internal convert_bits function which is declared static. This pr enables that.

Happy new year, Carlo

CarloMara avatar Jan 02 '20 14:01 CarloMara

I think you shouldn't use segwit_addr.c directly as it's specific for segwit addresses. Feel free to copy the convert_bits function though; it's trivial.

sipa avatar Jan 02 '20 14:01 sipa