itest: fix timeout issue in sweep test

This commit is contained in:
Oliver Gugger committed 2021-08-04 14:55:56 +02:00
1 parent fe931d179f
commit 06032b3f75
1 file changed
+1
+1
View File
@@ -1906,6 +1906,7 @@ func testSweepAllCoins(net *lntest.NetworkHarness, t *harnessTest) {
// Next, we try to relabel our transaction without setting the overwrite
// boolean. We expect this to fail, because the wallet requires setting
// of this param to prevent accidental overwrite of labels.
ctxt, _ = context.WithTimeout(ctxb, defaultTimeout)
_, err = ainz.WalletKitClient.LabelTransaction(
ctxt, &walletrpc.LabelTransactionRequest{
Txid: sweepHash[:],