|
|
|
@ -120,7 +120,7 @@ func getTestCaseSplitTranche() ([]*testCase, uint, uint) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func rpcPointToWirePoint(t *harnessTest, chanPoint *lnrpc.ChannelPoint) wire.OutPoint { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -179,7 +179,7 @@ func openChannelAndAssert(ctx context.Context, t *harnessTest,
|
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("error while waiting for channel open: %v", err) |
|
|
|
|
} |
|
|
|
|
fundingTxID, err := lnd.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
fundingTxID, err := lnrpc.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -291,7 +291,7 @@ func assertChannelClosed(ctx context.Context, t *harnessTest,
|
|
|
|
|
fundingChanPoint *lnrpc.ChannelPoint, anchors bool, |
|
|
|
|
closeUpdates lnrpc.Lightning_CloseChannelClient) *chainhash.Hash { |
|
|
|
|
|
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -387,7 +387,7 @@ func assertChannelClosed(ctx context.Context, t *harnessTest,
|
|
|
|
|
func waitForChannelPendingForceClose(ctx context.Context, |
|
|
|
|
node *lntest.HarnessNode, fundingChanPoint *lnrpc.ChannelPoint) error { |
|
|
|
|
|
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
return err |
|
|
|
|
} |
|
|
|
@ -1722,7 +1722,7 @@ func testPaymentFollowingChannelOpen(net *lntest.NetworkHarness, t *harnessTest)
|
|
|
|
|
|
|
|
|
|
// txStr returns the string representation of the channel's funding transaction.
|
|
|
|
|
func txStr(chanPoint *lnrpc.ChannelPoint) string { |
|
|
|
|
fundingTxID, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
fundingTxID, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
@ -3692,7 +3692,7 @@ func channelForceClosureTest(net *lntest.NetworkHarness, t *harnessTest,
|
|
|
|
|
|
|
|
|
|
// Compute the outpoint of the channel, which we will use repeatedly to
|
|
|
|
|
// locate the pending channel information in the rpc responses.
|
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -5534,7 +5534,7 @@ func testSingleHopSendToRouteCase(net *lntest.NetworkHarness, t *harnessTest,
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -5547,7 +5547,7 @@ func testSingleHopSendToRouteCase(net *lntest.NetworkHarness, t *harnessTest,
|
|
|
|
|
nodes := []*lntest.HarnessNode{carol, dave} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for _, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -5870,7 +5870,7 @@ func testMultiHopSendToRoute(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -5905,7 +5905,7 @@ func testMultiHopSendToRoute(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointBob) |
|
|
|
|
bobChanTXID, err := lnd.GetChanPointFundingTxid(chanPointBob) |
|
|
|
|
bobChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointBob) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -5919,7 +5919,7 @@ func testMultiHopSendToRoute(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6302,7 +6302,7 @@ func testPrivateChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6335,7 +6335,7 @@ func testPrivateChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointDave) |
|
|
|
|
daveChanTXID, err := lnd.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
daveChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6370,7 +6370,7 @@ func testPrivateChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6385,7 +6385,7 @@ func testPrivateChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6430,7 +6430,7 @@ func testPrivateChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("error while waiting for channel open: %v", err) |
|
|
|
|
} |
|
|
|
|
fundingTxID, err := lnd.GetChanPointFundingTxid(chanPointPrivate) |
|
|
|
|
fundingTxID, err := lnrpc.GetChanPointFundingTxid(chanPointPrivate) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6876,7 +6876,7 @@ func testMultiHopOverPrivateChannels(net *lntest.NetworkHarness, t *harnessTest)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Retrieve Alice's funding outpoint.
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6925,7 +6925,7 @@ func testMultiHopOverPrivateChannels(net *lntest.NetworkHarness, t *harnessTest)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Retrieve Bob's funding outpoint.
|
|
|
|
|
bobChanTXID, err := lnd.GetChanPointFundingTxid(chanPointBob) |
|
|
|
|
bobChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointBob) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -6980,7 +6980,7 @@ func testMultiHopOverPrivateChannels(net *lntest.NetworkHarness, t *harnessTest)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Retrieve Carol's funding point.
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -7651,7 +7651,7 @@ func testMaxPendingChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
t.Fatalf("error while waiting for channel open: %v", err) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fundingTxID, err := lnd.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
fundingTxID, err := lnrpc.GetChanPointFundingTxid(fundingChanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -10529,11 +10529,11 @@ out:
|
|
|
|
|
"expected %v, got %v", blockHeight+1, |
|
|
|
|
closedChan.ClosedHeight) |
|
|
|
|
} |
|
|
|
|
chanPointTxid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
chanPointTxid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
|
closedChanTxid, err := lnd.GetChanPointFundingTxid( |
|
|
|
|
closedChanTxid, err := lnrpc.GetChanPointFundingTxid( |
|
|
|
|
closedChan.ChanPoint, |
|
|
|
|
) |
|
|
|
|
if err != nil { |
|
|
|
@ -11339,7 +11339,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11379,7 +11379,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointDave) |
|
|
|
|
daveChanTXID, err := lnd.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
daveChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11416,7 +11416,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11430,7 +11430,7 @@ func testSwitchCircuitPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11659,7 +11659,7 @@ func testSwitchOfflineDelivery(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11699,7 +11699,7 @@ func testSwitchOfflineDelivery(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointDave) |
|
|
|
|
daveChanTXID, err := lnd.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
daveChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11736,7 +11736,7 @@ func testSwitchOfflineDelivery(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11750,7 +11750,7 @@ func testSwitchOfflineDelivery(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -11980,7 +11980,7 @@ func testSwitchOfflineDeliveryPersistence(net *lntest.NetworkHarness, t *harness
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12021,7 +12021,7 @@ func testSwitchOfflineDeliveryPersistence(net *lntest.NetworkHarness, t *harness
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
networkChans = append(networkChans, chanPointDave) |
|
|
|
|
daveChanTXID, err := lnd.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
daveChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12058,7 +12058,7 @@ func testSwitchOfflineDeliveryPersistence(net *lntest.NetworkHarness, t *harness
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12072,7 +12072,7 @@ func testSwitchOfflineDeliveryPersistence(net *lntest.NetworkHarness, t *harness
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12313,7 +12313,7 @@ func testSwitchOfflineDeliveryOutgoingOffline(
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointAlice) |
|
|
|
|
|
|
|
|
|
aliceChanTXID, err := lnd.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
aliceChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointAlice) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12353,7 +12353,7 @@ func testSwitchOfflineDeliveryOutgoingOffline(
|
|
|
|
|
}, |
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointDave) |
|
|
|
|
daveChanTXID, err := lnd.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
daveChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointDave) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12388,7 +12388,7 @@ func testSwitchOfflineDeliveryOutgoingOffline(
|
|
|
|
|
) |
|
|
|
|
networkChans = append(networkChans, chanPointCarol) |
|
|
|
|
|
|
|
|
|
carolChanTXID, err := lnd.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
carolChanTXID, err := lnrpc.GetChanPointFundingTxid(chanPointCarol) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12402,7 +12402,7 @@ func testSwitchOfflineDeliveryOutgoingOffline(
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12643,7 +12643,7 @@ func testQueryRoutes(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
nodeNames := []string{"Alice", "Bob", "Carol", "Dave"} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -12904,7 +12904,7 @@ func testRouteFeeCutoff(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
} |
|
|
|
|
for _, chanPoint := range networkChans { |
|
|
|
|
for i, node := range nodes { |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
@ -13345,7 +13345,7 @@ func testAbandonChannel(net *lntest.NetworkHarness, t *harnessTest) {
|
|
|
|
|
chanPoint := openChannelAndAssert( |
|
|
|
|
ctxt, t, net, net.Alice, net.Bob, channelParam, |
|
|
|
|
) |
|
|
|
|
txid, err := lnd.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
txid, err := lnrpc.GetChanPointFundingTxid(chanPoint) |
|
|
|
|
if err != nil { |
|
|
|
|
t.Fatalf("unable to get txid: %v", err) |
|
|
|
|
} |
|
|
|
|