htlcswitch: make linter happy on go 1.7
This commit is contained in:
parent
00448fb4ee
commit
e2e21243d2
@ -324,9 +324,9 @@ func generateHops(payAmt btcutil.Amount,
|
|||||||
lastHop := path[len(path)-1]
|
lastHop := path[len(path)-1]
|
||||||
|
|
||||||
var (
|
var (
|
||||||
runningAmt btcutil.Amount = payAmt
|
|
||||||
totalTimelock uint32
|
totalTimelock uint32
|
||||||
)
|
)
|
||||||
|
runningAmt := payAmt
|
||||||
|
|
||||||
hops := make([]ForwardingInfo, len(path))
|
hops := make([]ForwardingInfo, len(path))
|
||||||
for i := len(path) - 1; i >= 0; i-- {
|
for i := len(path) - 1; i >= 0; i-- {
|
||||||
|
Loading…
Reference in New Issue
Block a user