diff options
Diffstat (limited to 'packages/sol-cov/src/coverage_subprovider.ts')
-rw-r--r-- | packages/sol-cov/src/coverage_subprovider.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-cov/src/coverage_subprovider.ts b/packages/sol-cov/src/coverage_subprovider.ts index c84211d3a..e391b0f5c 100644 --- a/packages/sol-cov/src/coverage_subprovider.ts +++ b/packages/sol-cov/src/coverage_subprovider.ts @@ -91,7 +91,7 @@ export class CoverageSubprovider extends Subprovider { if (!txData.isFakeTransaction) { // This transaction is a usual ttransaction. Not a call executed as one. // And we don't want it to be executed within a snapshotting period - await this._lock.release(); + this._lock.release(); } cb(); } @@ -152,7 +152,7 @@ export class CoverageSubprovider extends Subprovider { // Even if this transaction failed - we've already recorded it's trace. } const jsonRPCResponse = await this.emitPayloadAsync({ method: 'evm_revert', params: [snapshotId] }); - await this._lock.release(); + this._lock.release(); const didRevert = jsonRPCResponse.result; if (!didRevert) { throw new Error('Failed to revert the snapshot'); |