Skip to content

Commit

Permalink
Merge pull request #187 from gemeniteg/master
Browse files Browse the repository at this point in the history
fix checksum address comparison
  • Loading branch information
vrtnd committed May 7, 2024
2 parents 4900806 + 50792b5 commit a77ab4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/owlto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const constructParams = (chain: SupportedChains) => {
to: tx.to,
token: nativeTokens[chain],
amount: tx.value,
isDeposit: address === tx.to,
isDeposit: address.toLowerCase() === tx.to,
};
return event;
});
Expand All @@ -117,7 +117,7 @@ const constructParams = (chain: SupportedChains) => {
to: tx.to,
token: nativeTokens[chain],
amount: tx.value,
isDeposit: address === tx.to,
isDeposit: address.toLowerCase() === tx.to,
};
return event;
});
Expand Down

0 comments on commit a77ab4e

Please sign in to comment.