mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 01:18:17 +02:00
itest: fix timeout issue in sweep test
This commit is contained in:
@@ -1906,6 +1906,7 @@ func testSweepAllCoins(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// Next, we try to relabel our transaction without setting the overwrite
|
// Next, we try to relabel our transaction without setting the overwrite
|
||||||
// boolean. We expect this to fail, because the wallet requires setting
|
// boolean. We expect this to fail, because the wallet requires setting
|
||||||
// of this param to prevent accidental overwrite of labels.
|
// of this param to prevent accidental overwrite of labels.
|
||||||
|
ctxt, _ = context.WithTimeout(ctxb, defaultTimeout)
|
||||||
_, err = ainz.WalletKitClient.LabelTransaction(
|
_, err = ainz.WalletKitClient.LabelTransaction(
|
||||||
ctxt, &walletrpc.LabelTransactionRequest{
|
ctxt, &walletrpc.LabelTransactionRequest{
|
||||||
Txid: sweepHash[:],
|
Txid: sweepHash[:],
|
||||||
|
Reference in New Issue
Block a user