Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Oct 16, 2024
1 parent 52b7157 commit 3681eb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/actions/wallet/sendTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,10 @@ export async function sendTransaction<
const error = e as BaseError
// If the transport does not support the input, attempt to use the
// `wallet_sendTransaction` method.
if (error.name === 'InvalidInputRpcError')
if (
error.name === 'InvalidInputRpcError' ||
error.name === 'InvalidParamsRpcError'
)
return await client.request({
method: 'wallet_sendTransaction',
params: [params],
Expand Down

0 comments on commit 3681eb6

Please sign in to comment.