From 9617dabe37512528b38171035dc67e06ed455474 Mon Sep 17 00:00:00 2001 From: robertlincecum Date: Mon, 10 Jun 2024 10:28:43 -0500 Subject: [PATCH] add await to else in populate so promise isn't passed into validateAddress --- src/signers/abstract-signer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signers/abstract-signer.ts b/src/signers/abstract-signer.ts index 55aff0b2..c8092b12 100644 --- a/src/signers/abstract-signer.ts +++ b/src/signers/abstract-signer.ts @@ -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);