Skip to content

Commit

Permalink
Limit XMSS MaxHeight to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyber committed Aug 16, 2024
1 parent 0e6b70d commit 96d74a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmss/xmss.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 96d74a4

Please sign in to comment.