aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-03-28 16:38:37 +0200
committerLinus Nordberg <linus@nordberg.se>2022-03-28 16:38:37 +0200
commitace5e7c406dee2ca533d41f5271de0be7403a139 (patch)
treea4861e35d2281519993b9e7ed109d858e2ac701b /pkg
parent50564595a70f2c2ea0ad4a9b4b96e33bab6b3633 (diff)
parent5683ff1a9bd81dbacfc9587c8c437642c8f51f42 (diff)
Merge remote-tracking branch 'origin/rgdd/fix-node-prefix'
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 (