Skip to content

Commit

Permalink
chore(ethers): ensure tx from values are checksum compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed May 28, 2024
1 parent 44aad5d commit 0e2978a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ethers/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class WalletWrapper {
): Promise<ethers.providers.TransactionRequest> {
// Compose actual transaction:
let tx: ethers.providers.TransactionRequest = {
from: params.from,
from: params.from ? ethers.utils.getAddress(params.from) : undefined,
to: params.to,
value: params.value,
data: params.data,
Expand Down

0 comments on commit 0e2978a

Please sign in to comment.