htlcswitch: make linter happy on go 1.7

This commit is contained in:
Olaoluwa Osuntokun 2017-06-17 01:10:03 +02:00
parent 00448fb4ee
commit e2e21243d2
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -324,9 +324,9 @@ func generateHops(payAmt btcutil.Amount,
lastHop := path[len(path)-1]
var (
runningAmt btcutil.Amount = payAmt
totalTimelock uint32
)
runningAmt := payAmt
hops := make([]ForwardingInfo, len(path))
for i := len(path) - 1; i >= 0; i-- {