File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
wallets/wallet-cosmos/src Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ export class ChainGrpcGovTransformer {
177177 ? Math . floor ( proposal . submitTime ! . getTime ( ) / 1000 )
178178 : 0 ,
179179 status : proposal . status ,
180+ expedited : proposal . expedited ,
181+ failedReason : proposal . failedReason ,
180182 finalTallyResult :
181183 ChainGrpcGovTransformer . grpcTallyResultToTallyResult ( finalTallyResult ) ,
182184 depositEndTime : proposal . depositEndTime
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ export interface Proposal {
2424 content : any
2525 type : string
2626 status : CosmosGovV1Gov . ProposalStatus
27+ expedited : boolean
28+ failedReason : string
2729 submitTime : number
2830 finalTallyResult : GrpcTallyResult | undefined
2931 totalDeposits : Coin [ ]
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export class CosmosWallet {
138138 public async getOfflineAminoSigner ( ) : Promise < OfflineAminoSigner > {
139139 const { chainId, wallet } = this
140140
141- if ( [ Wallet . Keplr , Wallet . OWallet ] . includes ( wallet ) ) {
141+ if ( ! [ Wallet . Keplr , Wallet . OWallet ] . includes ( wallet ) ) {
142142 throw new CosmosWalletException (
143143 new Error (
144144 `getOfflineAminoSigner is not support on ${ capitalize ( wallet ) } ` ,
@@ -418,9 +418,9 @@ export class CosmosWallet {
418418 const { wallet } = this
419419 const cosmosWallet = await this . getCosmosWallet ( )
420420
421- if ( [ Wallet . Keplr , Wallet . OWallet ] . includes ( wallet ) ) {
421+ if ( ! [ Wallet . Keplr , Wallet . OWallet ] . includes ( wallet ) ) {
422422 throw new CosmosWalletException (
423- new Error ( `enableGasCheck is not support on ${ capitalize ( wallet ) } ` ) ,
423+ new Error ( `EnableGasCheck is not support on ${ capitalize ( wallet ) } ` ) ,
424424 )
425425 }
426426
You can’t perform that action at this time.
0 commit comments