Skip to content

Commit

Permalink
fix approve tx coin98
Browse files Browse the repository at this point in the history
  • Loading branch information
nttnguyen136 committed Sep 7, 2022
1 parent 58c7fe7 commit c1753c6
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,8 @@ export const ApproveTxModal = ({
})
} else {
// case when Confirm Click
const lastUsedProvider = await loadLastUsedProvider()
if (lastUsedProvider?.toLowerCase() === 'keplr') {
signTransactionWithKeplr(safeAddress)
}

signTransactionWithKeplr(safeAddress)
}
} catch (error) {
if (thresholdReached) {
Expand Down Expand Up @@ -431,6 +429,7 @@ export const ApproveTxModal = ({
const bodyBytes = toBase64(signResult.bodyBytes)

// call api to confirm transaction

const data = {
fromAddress: userWalletAddress,
transactionId: transaction?.id,
Expand Down

0 comments on commit c1753c6

Please sign in to comment.