commit c26fc6f2c7e21497b24127638dc5af78fc24b5f3
parent 879a75003fd4e6d4e12ce39a7c80ed24ae5182a2
Author: Trevor Hickey <TrevorJamesHickey@gmail.com>
Date: Wed, 26 May 2021 10:45:42 -0400
add return statement for pubkey_to_P2PKH
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/createPubKey.h b/createPubKey.h
@@ -45,4 +45,5 @@ char *pubkey_to_P2PKH(const unsigned char *pubkey64, char *out) {
/* Remove k-n leading 1's from the address */
memmove(out, out + (k-n), 34-(k-n));
out[34-(k-n)] = '\0';
+ return out;
}