Simple query to get sequence to sign
This commit is contained in:
parent
780ef3e47b
commit
7c5bd1e2c0
@ -138,7 +138,7 @@ export class SigningStargateClient extends StargateClient {
|
||||
throw new Error("Failed to retrieve account from signer");
|
||||
}
|
||||
const pubkey = encodeSecp256k1Pubkey(accountFromSigner.pubkey);
|
||||
const accountFromChain = await this.getAccount(signerAddress);
|
||||
const accountFromChain = await this.getAccountUnverified(signerAddress);
|
||||
if (!accountFromChain) {
|
||||
throw new Error("Account not found");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user