Apply suggestions from code review
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
This commit is contained in:
parent
157a24681c
commit
065c1b39ce
|
@ -73,7 +73,7 @@ message MsgVoteWeighted {
|
||||||
// MsgVoteResponse defines the Msg/Vote response type.
|
// MsgVoteResponse defines the Msg/Vote response type.
|
||||||
message MsgVoteResponse {}
|
message MsgVoteResponse {}
|
||||||
|
|
||||||
// MsgVoteWeightedResponse defines the MsgVoteWeighted response type.
|
// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.
|
||||||
message MsgVoteWeightedResponse {}
|
message MsgVoteWeightedResponse {}
|
||||||
|
|
||||||
// MsgDeposit defines a message to submit a deposit to an existing proposal.
|
// MsgDeposit defines a message to submit a deposit to an existing proposal.
|
||||||
|
|
|
@ -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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get voting address
|
// Get voter address
|
||||||
from := clientCtx.GetFromAddress()
|
from := clientCtx.GetFromAddress()
|
||||||
|
|
||||||
// validate that the proposal id is a uint
|
// validate that the proposal id is a uint
|
||||||
|
|
Loading…
Reference in New Issue