From a1bb36730aec37214924b09e131941b225bddb80 Mon Sep 17 00:00:00 2001 From: Thomas Preindl Date: Wed, 15 Mar 2017 06:53:15 +0100 Subject: [PATCH] lnd: fix typos in comments --- htlcswitch.go | 2 +- lnwallet/channel.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htlcswitch.go b/htlcswitch.go index db21f563..5e27456b 100644 --- a/htlcswitch.go +++ b/htlcswitch.go @@ -139,7 +139,7 @@ type htlcSwitch struct { onionIndex map[[ripemd160.Size]byte][]*link // paymentCircuits maps a circuit key to an active payment circuit - // amongst two oepn channels. This map is used to properly clear/settle + // amongst two open channels. This map is used to properly clear/settle // onion routed payments within the network. paymentCircuits map[circuitKey]*paymentCircuit diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 0aca3c71..b5d25dd9 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -2260,7 +2260,7 @@ func (lc *LightningChannel) InitCooperativeClose() ([]byte, *chainhash.Hash, err lc.channelState.OurDeliveryScript, lc.channelState.TheirDeliveryScript, lc.channelState.IsInitiator) - // Ensure that the transaction doesn't explicitly validate any + // Ensure that the transaction doesn't explicitly violate any // consensus rules such as being too big, or having any value with a // negative output. tx := btcutil.NewTx(closeTx)