Skip to content

Commit 2c9ff12

Browse files
committed
Fix another race condition
1 parent df06d68 commit 2c9ff12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e/capacity/staking.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ describe('Capacity Staking Tests', function () {
329329
await assert.doesNotReject(vestedTransferTx.signAndSend(undefined, undefined, false));
330330
await assertFrozen(vesterKeys, 100n * DOLLARS);
331331

332-
await assert.doesNotReject(ExtrinsicHelper.stake(vesterKeys, providerId, 80n * DOLLARS).signAndSend());
332+
await assert.doesNotReject(
333+
ExtrinsicHelper.stake(vesterKeys, providerId, 80n * DOLLARS).signAndSend(undefined, undefined, false)
334+
);
333335

334336
const spendable = await getSpendableBalance(vesterKeys);
335337
// after txn fees

0 commit comments

Comments
 (0)