Skip to content

Commit 1d52214

Browse files
committed
sphinx: use proper onion packet version
Prior to this commit, we we're using a version of 0x01, as the expected version within the Sphinx packet header. With this commit, we correct this mistake, and instead expect a version of 0x00.
1 parent 7625644 commit 1d52214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const (
6464
keyLen = 32
6565

6666
// baseVersion represent the current supported version of onion packet.
67-
baseVersion = 1
67+
baseVersion = 0
6868
)
6969

7070
var (

0 commit comments

Comments
 (0)