Skip to content

Commit

Permalink
Merge branch 'master' into fix/send-serialized-message
Browse files Browse the repository at this point in the history
  • Loading branch information
y3fers0n authored Apr 25, 2024
2 parents 9497d65 + d6f74bb commit b6c9d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ethereum_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class TrustWeb3Provider extends BaseProvider {

if (
typeof payload.params?.[0].toLowerCase() === "string" &&
this.address === payload.params?.[0].toLowerCase()
this.address.toLowerCase() === payload.params?.[0].toLowerCase()
) {
message = payload.params[1];
address = payload.params[0];
Expand Down Expand Up @@ -302,7 +302,7 @@ class TrustWeb3Provider extends BaseProvider {

if (
typeof payload.params?.[0] === "string" &&
this.address === payload.params?.[0].toLowerCase()
this.address.toLowerCase() === payload.params?.[0].toLowerCase()
) {
data = payload.params[1];
address = payload.params[0];
Expand Down

0 comments on commit b6c9d6b

Please sign in to comment.