Apply suggestions from code review

Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
This commit is contained in:
Sunny Aggarwal 2021-02-10 12:27:06 -05:00 committed by GitHub
parent 157a24681c
commit 065c1b39ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ message MsgVoteWeighted {
// MsgVoteResponse defines the Msg/Vote response type.
message MsgVoteResponse {}
// MsgVoteWeightedResponse defines the MsgVoteWeighted response type.
// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.
message MsgVoteWeightedResponse {}
// MsgDeposit defines a message to submit a deposit to an existing proposal.

View File

@ -270,7 +270,7 @@ $ %s tx gov vote 1 yes=0.6,no=0.3,abstain=0.05,no_with_veto=0.05 --from mykey
return err
}
// Get voting address
// Get voter address
from := clientCtx.GetFromAddress()
// validate that the proposal id is a uint