htlcswitch/hop: move NetworkHop to hop.Network

This commit is contained in:
Conner Fromknecht committed 2019-09-05 01:35:20 -07:00
1 parent 866867a4b0
commit 83d2112e8b
5 files changed
+37 -33

No files matched your search

+2 -1
View File
@@ -25,6 +25,7 @@ import (
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/contractcourt"
"github.com/lightningnetwork/lnd/htlcswitch/hop"
"github.com/lightningnetwork/lnd/input"
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnpeer"
@@ -680,7 +681,7 @@ func generateHops(payAmt lnwire.MilliSatoshi, startingHeight uint32,
}
hops[i] = ForwardingInfo{
Network: BitcoinHop,
Network: hop.BitcoinNetwork,
NextHop: nextHop,
AmountToForward: amount,
OutgoingCTLV: timeLock,