Skip to content

Commit

Permalink
chore: update fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
BZahory committed Aug 22, 2024
1 parent 94d5908 commit 7f43626
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/transaction-controller/src/utils/swaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ function updateSwapAndSendTransaction(
type,
}: Partial<TransactionMeta>,
): TransactionMeta {
validateIfTransactionUnapproved(transactionMeta, 'updateSwapTransaction');
validateIfTransactionUnapproved(
transactionMeta,
'updateSwapAndSendTransaction',
);

let swapTransaction = {
approvalTx,
Expand Down

0 comments on commit 7f43626

Please sign in to comment.