Skip to content

Commit

Permalink
add await to else in populate so promise isn't passed into validateAd…
Browse files Browse the repository at this point in the history
…dress
  • Loading branch information
robertlincecum committed Jun 10, 2024
1 parent 8c04a8f commit 9617dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signers/abstract-signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function populate(signer: AbstractSigner, tx: TransactionRequest): Promise
return address;
});
} else {
pop.from = signer.getAddress();
pop.from = await signer.getAddress();
}
validateAddress(pop.from);

Expand Down

0 comments on commit 9617dab

Please sign in to comment.