From 96d74a483546b78d147a3a3b7eee211c6032632d Mon Sep 17 00:00:00 2001 From: cyyber Date: Fri, 16 Aug 2024 18:06:52 +0400 Subject: [PATCH] Limit XMSS MaxHeight to 30 --- xmss/xmss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmss/xmss.go b/xmss/xmss.go index 3128a8b..aac8e07 100644 --- a/xmss/xmss.go +++ b/xmss/xmss.go @@ -28,7 +28,7 @@ const ( ) const ( - MaxHeight = 254 + MaxHeight = 30 // MaxHeight set to 30, as lastNode datatype is uint32 anything more than height 30 will result into overflow ) const (