brontide: set the prologue value as specified within BOLT0008

This commit is contained in:
Olaoluwa Osuntokun committed 2016-12-12 15:56:50 -08:00
1 parent b1d28426d5
commit 61ddd48255
1 file changed
+1 -1
+1 -1
View File
@@ -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}