Fix unknown problem

This commit is contained in:
Thunnini 2022-12-12 18:57:49 +09:00
parent de2a90457e
commit c900e86e3a

View File

@ -41,7 +41,7 @@ export class KeplrWallet implements Wallet {
constructor(public readonly keplr: Keplr) {}
broadcastTxSync(chainId: string, tx: Uint8Array): Promise<Uint8Array> {
return this.keplr.sendTx(chainId, tx, BroadcastMode.Sync);
return this.keplr.sendTx(chainId, tx, "sync" as BroadcastMode);
}
getChainInfosWithoutEndpoints(): Promise<