aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-03-27 20:36:06 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-03-27 20:36:06 +0200
commit5683ff1a9bd81dbacfc9587c8c437642c8f51f42 (patch)
treef7dcddd05c76b402772457b372ce9272fe56f46f /pkg
parent93542012e45cfa53964a7160969db30fc36229b2 (diff)
fix incorrect {Leaf,Interior}NodePrefix
Diffstat (limited to 'pkg')
-rw-r--r--pkg/types/crypto.go4
1 files changed, 2 insertions, 2 deletions
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 (