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:
parent
719e32830d
commit
9f7d8dd92e
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user