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:
1 file changed
+2
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user