Skip to content

Commit

Permalink
make this optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Jul 22, 2021
1 parent 256268c commit 9685c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transaction/TransactionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ export class TransactionController extends BaseController<
*
* @param transactionID - ID of the transaction to cancel
*/
async stopTransaction(transactionID: string, gasValues: GasValues) {
async stopTransaction(transactionID: string, gasValues?: GasValues) {
const transactionMeta = this.state.transactions.find(
({ id }) => id === transactionID,
);
Expand Down

0 comments on commit 9685c6b

Please sign in to comment.