From 95a522bf1a453880050521661258d7943e966d1f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 3 Nov 2017 18:52:23 +0100 Subject: [PATCH] fix typo --- ecdsa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ecdsa.h b/ecdsa.h index 90c607010c..84d1665b40 100644 --- a/ecdsa.h +++ b/ecdsa.h @@ -52,11 +52,11 @@ typedef struct { #define MAX_ADDR_RAW_SIZE (4 + 40) // bottle neck is segwit bech32: // 4 human readable prefix + 1 separator + 64 data + 6 checksum + 1 NUL -// the standard says 83 characters in hrp, but currently all coins use only 2 -#define MAX_ADDR_SIZE (4+1+64+6+1) +// the standard says 83 characters in hrp, but currently all coins use max 4 +#define MAX_ADDR_SIZE (4 + 1 + 64 + 6 + 1) // 4 byte prefix + 32 byte privkey + 1 byte compressed marker #define MAX_WIF_RAW_SIZE (4 + 32 + 1) -// (4+32+1 + 4 [checksum]) * 8 / log2(58) plus NUL. +// (4 + 32 + 1 + 4 [checksum]) * 8 / log2(58) plus NUL. #define MAX_WIF_SIZE (57) void point_copy(const curve_point *cp1, curve_point *cp2);