mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
itest: fix timeout issue in sweep test
This commit is contained in:
parent
fe931d179f
commit
06032b3f75
@ -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[:],
|
||||
|
Loading…
Reference in New Issue
Block a user