stargate: Adjust variable name

This commit is contained in:
willclarktech 2021-04-14 16:19:01 +02:00
parent 2f4b39f926
commit f4e6786f5b
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -297,8 +297,8 @@ export class SigningStargateClient extends StargateClient {
memo = "",
): Promise<BroadcastTxResponse> {
const txRaw = await this.sign(signerAddress, messages, fee, memo);
const signedTx = Uint8Array.from(TxRaw.encode(txRaw).finish());
return this.broadcastTx(signedTx);
const txBytes = Uint8Array.from(TxRaw.encode(txRaw).finish());
return this.broadcastTx(txBytes);
}
/**