commit 5f127af5a5d02c89ca09cba21cffa029821d98e6
parent 879a75003fd4e6d4e12ce39a7c80ed24ae5182a2
Author: Nick <nicholas.w.farrow@gmail.com>
Date: Sun, 30 May 2021 13:37:34 +1000
Merge pull request #6 from luxe/patch-1
add return statement for pubkey_to_P2PKH
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/createPubKey.h b/createPubKey.h
@@ -18,7 +18,7 @@ void str_to_byte(const char *src, byte *dst, int n) {
while (n--) sscanf(src + n * 2, "%2hhx", dst + n);
}
-char *pubkey_to_P2PKH(const unsigned char *pubkey64, char *out) {
+void pubkey_to_P2PKH(const unsigned char *pubkey64, char *out) {
byte s[65];
byte rmd[5 + RIPEMD160_DIGEST_LENGTH];