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