From bb61fb75d8bcb4bd67a036f2e35755451b6cbe9b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 5 Nov 2016 22:26:54 +0100 Subject: [PATCH] segwit address sizes --- ecdsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecdsa.h b/ecdsa.h index 7802d71df0..7683d4f547 100644 --- a/ecdsa.h +++ b/ecdsa.h @@ -48,9 +48,9 @@ typedef struct { } ecdsa_curve; -#define MAX_ADDR_RAW_SIZE (4 + 20) +#define MAX_ADDR_RAW_SIZE (4 + 40) #define MAX_WIF_RAW_SIZE (4 + 32 + 1) -#define MAX_ADDR_SIZE (40) +#define MAX_ADDR_SIZE (54) #define MAX_WIF_SIZE (58) // rfc6979 pseudo random number generator state