mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
fixed typo
This commit is contained in:
parent
1c8bec258a
commit
cb4f0d1216
@ -570,9 +570,9 @@ Value masternode(const Array& params, bool fHelp)
|
||||
mnEntries = masternodeConfig.getEntries();
|
||||
|
||||
std::string vote = params[1].get_str().c_str();
|
||||
if(vote != "yay" && vote != "nay") return "You can only vote 'yay' or 'nay'";
|
||||
if(vote != "yea" && vote != "nay") return "You can only vote 'yea' or 'nay'";
|
||||
int nVote = 0;
|
||||
if(vote == "yay") nVote = 1;
|
||||
if(vote == "yea") nVote = 1;
|
||||
if(vote == "nay") nVote = -1;
|
||||
|
||||
|
||||
@ -618,9 +618,9 @@ Value masternode(const Array& params, bool fHelp)
|
||||
mnEntries = masternodeConfig.getEntries();
|
||||
|
||||
std::string vote = params[1].get_str().c_str();
|
||||
if(vote != "yay" && vote != "nay") return "You can only vote 'yay' or 'nay'";
|
||||
if(vote != "yea" && vote != "nay") return "You can only vote 'yea' or 'nay'";
|
||||
int nVote = 0;
|
||||
if(vote == "yay") nVote = 1;
|
||||
if(vote == "yea") nVote = 1;
|
||||
if(vote == "nay") nVote = -1;
|
||||
|
||||
// Choose coins to use
|
||||
|
Loading…
Reference in New Issue
Block a user