zpay32: move HopHint and DefaultFinalCLTVDelta
This commit is contained in:
11 files changed
+70
-66
No files matched your search
@@ -12,7 +12,6 @@ import (
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/bech32"
|
||||
"github.com/lightningnetwork/lnd/lnwire"
|
||||
"github.com/lightningnetwork/lnd/routing"
|
||||
)
|
||||
|
||||
// TestDecodeAmount ensures that the amount string in the hrp of the Invoice
|
||||
@@ -738,7 +737,7 @@ func TestParseRouteHint(t *testing.T) {
|
||||
tests := []struct {
|
||||
data []byte
|
||||
valid bool
|
||||
result []routing.HopHint
|
||||
result []HopHint
|
||||
}{
|
||||
{
|
||||
data: []byte{0x0, 0x0, 0x0, 0x0},
|
||||
@@ -747,7 +746,7 @@ func TestParseRouteHint(t *testing.T) {
|
||||
{
|
||||
data: []byte{},
|
||||
valid: true,
|
||||
result: []routing.HopHint{},
|
||||
result: []HopHint{},
|
||||
},
|
||||
{
|
||||
data: testSingleHopData,
|
||||
|
||||
Reference in new issue
Block a user