lntest: make compilable without subserver build tags

To make it possible to compile the itests together with the other tests,
we don't want to use anything from the optional subservers.
This commit is contained in:
Oliver Gugger 2020-09-04 13:47:56 +02:00
parent 719e32830d
commit 9f7d8dd92e
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -13124,7 +13124,8 @@ func testSweepAllCoins(net *lntest.NetworkHarness, t *harnessTest) {
// Our error will be wrapped in a rpc error, so we check that it
// contains the error we expect.
if !strings.Contains(err.Error(), walletrpc.ErrZeroLabel.Error()) {
errZeroLabel := "cannot label transaction with empty label"
if !strings.Contains(err.Error(), errZeroLabel) {
t.Fatalf("expected: zero label error, got: %v", err)
}