Skip to content

Commit

Permalink
fix: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeday committed Sep 20, 2024
1 parent b48d6d1 commit ad17c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/use-web3-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const runtimeMutableTransport = (
requestParams.method === 'eth_getLogs' &&
Array.isArray(requestParams?.params) &&
// works for empty array, empty string and all falsish values
!!requestParams.params[0]?.address?.length
!requestParams.params[0]?.address?.length
) {
console.warn(
'[runtimeMutableTransport] Invalid empty getLogs',
Expand Down

0 comments on commit ad17c39

Please sign in to comment.