From 61ddd482552458aad284ce11e28b79c680a4b09f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 12 Dec 2016 15:24:46 -0800 Subject: [PATCH] brontide: set the prologue value as specified within BOLT0008 --- brontide/noise.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brontide/noise.go b/brontide/noise.go index e4bb684c..4c4ab1ea 100644 --- a/brontide/noise.go +++ b/brontide/noise.go @@ -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}