From cd7f40422fb7f4d4a1d3b48d67da2f2130c10d26 Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Thu, 11 Jan 2018 16:49:38 +0200 Subject: [PATCH] Fix trivial comment errors in noise.go --- brontide/noise.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brontide/noise.go b/brontide/noise.go index cc3e628e..723b7bfb 100644 --- a/brontide/noise.go +++ b/brontide/noise.go @@ -350,7 +350,7 @@ type Machine struct { // NewBrontideMachine creates a new instance of the brontide state-machine. If // the responder (listener) is creating the object, then the remotePub should // be nil. The handshake state within brontide is initialized using the ascii -// string "bitcoin" as the prologue. The last parameter is a set of variadic +// string "lightning" as the prologue. The last parameter is a set of variadic // arguments for adding additional options to the brontide Machine // initialization. func NewBrontideMachine(initiator bool, localPub *btcec.PrivateKey, @@ -627,7 +627,7 @@ func (b *Machine) RecvActThree(actThree [ActThreeSize]byte) error { } // split is the final wrap-up act to be executed at the end of a successful -// three act handshake. This function creates to internal cipherState +// three act handshake. This function creates two internal cipherState // instances: one which is used to encrypt messages from the initiator to the // responder, and another which is used to encrypt message for the opposite // direction.