mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
brontide: set the prologue value as specified within BOLT0008
This commit is contained in:
parent
b1d28426d5
commit
61ddd48255
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue