mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 06:21:40 +01:00
htlcswitch: make linter happy on go 1.7
This commit is contained in:
parent
00448fb4ee
commit
e2e21243d2
1 changed files with 1 additions and 1 deletions
|
@ -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-- {
|
||||
|
|
Loading…
Add table
Reference in a new issue