lnd: fix gofmt warnings

This commit is contained in:
Andrey Samokhvalov
2017-02-23 22:02:08 +03:00
committed by Olaoluwa Osuntokun
parent 8fb54782e2
commit f2843dd4c9
5 changed files with 21 additions and 16 deletions

View File

@@ -159,7 +159,7 @@ func (b *bobNode) signFundingTx(fundingTx *wire.MsgTx) ([]*lnwallet.InputScript,
inputValue := int64(7e8)
hashCache := txscript.NewTxSigHashes(fundingTx)
for i, _ := range fundingTx.TxIn {
for i := range fundingTx.TxIn {
// Alice has already signed this input.
if fundingTx.TxIn[i].Witness != nil {
continue