From 5683ff1a9bd81dbacfc9587c8c437642c8f51f42 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sun, 27 Mar 2022 20:36:06 +0200 Subject: fix incorrect {Leaf,Interior}NodePrefix --- pkg/types/crypto.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/types/crypto.go') diff --git a/pkg/types/crypto.go b/pkg/types/crypto.go index 72152bf..df93108 100644 --- a/pkg/types/crypto.go +++ b/pkg/types/crypto.go @@ -10,8 +10,8 @@ const ( SignatureSize = ed25519.SignatureSize PublicKeySize = ed25519.PublicKeySize - InteriorNodePrefix = byte(0x00) - LeafNodePrefix = byte(0x01) + LeafNodePrefix = byte(0x00) + InteriorNodePrefix = byte(0x01) ) type ( -- cgit v1.2.3