brontide: set the prologue value as specified within BOLT0008
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -338,7 +338,7 @@ type BrontideMachine struct {
|
|||||||
func NewBrontideMachine(initiator bool, localPub *btcec.PrivateKey,
|
func NewBrontideMachine(initiator bool, localPub *btcec.PrivateKey,
|
||||||
remotePub *btcec.PublicKey) *BrontideMachine {
|
remotePub *btcec.PublicKey) *BrontideMachine {
|
||||||
|
|
||||||
handshake := newHandshakeState(initiator, []byte("bitcoin"), localPub,
|
handshake := newHandshakeState(initiator, []byte("lightning"), localPub,
|
||||||
remotePub)
|
remotePub)
|
||||||
|
|
||||||
return &BrontideMachine{handshakeState: handshake}
|
return &BrontideMachine{handshakeState: handshake}
|
||||||
|
|||||||
Reference in new issue
Block a user