Use verified account query for signing (to ensure it works)
This commit is contained in:
parent
9b5fd0aacf
commit
7ec4c265dd
@ -139,7 +139,7 @@ export class SigningStargateClient extends StargateClient {
|
||||
throw new Error("Failed to retrieve account from signer");
|
||||
}
|
||||
const pubkey = encodeSecp256k1Pubkey(accountFromSigner.pubkey);
|
||||
const accountFromChain = await this.getAccountUnverified(signerAddress);
|
||||
const accountFromChain = await this.getAccount(signerAddress);
|
||||
if (!accountFromChain) {
|
||||
throw new Error("Account not found");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user