diff --git a/src.ts/providers/abstract-signer.ts b/src.ts/providers/abstract-signer.ts index 3087624d85..1ff7d330e3 100644 --- a/src.ts/providers/abstract-signer.ts +++ b/src.ts/providers/abstract-signer.ts @@ -33,17 +33,7 @@ async function populate(signer: AbstractSigner, tx: TransactionRequest): Promise if (pop.to != null) { pop.to = resolveAddress(pop.to, signer); } - if (pop.from != null) { - const from = pop.from; - pop.from = Promise.all([ - signer.getAddress(), - resolveAddress(from, signer) - ]).then(([ address, from ]) => { - assertArgument(address.toLowerCase() === from.toLowerCase(), - "transaction from mismatch", "tx.from", from); - return address; - }); - } else { + if (pop.from == null) { pop.from = signer.getAddress(); }