lnd: fix typos in comments

This commit is contained in:
Thomas Preindl 2017-03-15 06:53:15 +01:00 committed by Olaoluwa Osuntokun
parent 862722d6fe
commit a1bb36730a
2 changed files with 2 additions and 2 deletions

@ -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

@ -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)