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
@@ -26,6 +26,7 @@ import (
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/contractcourt"
"github.com/lightningnetwork/lnd/htlcswitch/hodl"
"github.com/lightningnetwork/lnd/htlcswitch/hop"
"github.com/lightningnetwork/lnd/input"
"github.com/lightningnetwork/lnd/lnpeer"
"github.com/lightningnetwork/lnd/lntypes"
@@ -4309,7 +4310,7 @@ func generateHtlcAndInvoice(t *testing.T,
htlcExpiry := testStartingHeight + testInvoiceCltvExpiry
hops := []ForwardingInfo{
{
Network: BitcoinHop,
Network: hop.BitcoinNetwork,
NextHop: exitHop,
AmountToForward: htlcAmt,
OutgoingCTLV: uint32(htlcExpiry),