Skip to content

Commit

Permalink
feat: redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
abretonc7s committed Oct 27, 2023
1 parent e5ed56d commit ecd82bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/SDKConnect/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export class Connection extends EventEmitter2 {
if (lcMethod === RPC_METHODS.ETH_SENDTRANSACTION.toLowerCase()) {
if (
!(
message.params &&
message?.params &&
Array.isArray(message.params) &&
message.params.length > 0
)
Expand Down

0 comments on commit ecd82bc

Please sign in to comment.