mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 01:50:03 +01:00
BOLT04: Correct the sphinx packet version in the implementation
This commit is contained in:
parent
024f695bd1
commit
0310e40eda
@ -290,7 +290,7 @@ func NewOnionPacket(paymentPath []*btcec.PublicKey, sessionKey *btcec.PrivateKey
|
||||
}
|
||||
|
||||
packet := &OnionPacket{
|
||||
Version: 0x01,
|
||||
Version: 0x00,
|
||||
EphemeralKey: hopEphemeralPubKeys[0],
|
||||
RoutingInfo: mixHeader,
|
||||
HeaderMAC: nextHmac,
|
||||
|
Loading…
Reference in New Issue
Block a user