From ca1e9dcecb042cf42d4e4643acbb496267a0ce53 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Fri, 24 May 2019 14:17:49 +0200 Subject: [PATCH] lntest: skip zeroConf ListUnspent for neutrino --- lntest/harness.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lntest/harness.go b/lntest/harness.go index 4b3048e6..f2a486c8 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -1314,6 +1314,12 @@ func (n *NetworkHarness) sendCoins(ctx context.Context, amt btcutil.Amount, // Now, wait for ListUnspent to show the unconfirmed transaction // containing the correct pkscript. err = WaitNoError(func() error { + // Since neutrino doesn't support unconfirmed outputs, skip + // this check. + if target.cfg.BackendCfg.Name() == "neutrino" { + return nil + } + req := &lnrpc.ListUnspentRequest{} resp, err := target.ListUnspent(ctx, req) if err != nil {