lnd: fix typos in comments

This commit is contained in:
Thomas Preindl authored and Olaoluwa Osuntokun committed 2017-03-16 12:39:40 -07:00
1 parent 862722d6fe
commit a1bb36730a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)