Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Aug 24, 2022
1 parent a71d3df commit 21b4819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/ccv/provider/client/proposal_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ type StopConsumerChainProposalReq struct {
Description string `json:"description"`
ChainId string `json:"chainId"`

StopTime time.Time `json:"spawnTime"`
StopTime time.Time `json:"stopTime"`
Deposit sdk.Coins `json:"deposit"`
}

Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/types/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (sccp *StopConsumerChainProposal) ValidateBasic() error {
}

if sccp.StopTime.IsZero() {
return sdkerrors.Wrap(ErrInvalidStopProposal, "spawn time cannot be zero")
return sdkerrors.Wrap(ErrInvalidStopProposal, "stop time cannot be zero")
}
return nil
}

0 comments on commit 21b4819

Please sign in to comment.