Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: codablock <ablock84@gmail.com>
  • Loading branch information
UdjinM6 and codablock committed Dec 31, 2018
1 parent 1efd773 commit 536229d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/instantx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,6 @@ bool CTxLockVote::CheckSignature() const

bool CTxLockVote::Sign()
{
std::string strError;

uint256 hash = GetSignatureHash();

Expand Down
4 changes: 0 additions & 4 deletions src/privatesend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ bool CPrivateSendQueue::Sign()
{
if (!fMasternodeMode) return false;

std::string strError = "";

uint256 hash = GetSignatureHash();
CBLSSignature sig = activeMasternodeInfo.blsKeyOperator->Sign(hash);
Expand All @@ -64,7 +63,6 @@ bool CPrivateSendQueue::Sign()

bool CPrivateSendQueue::CheckSignature(const CBLSPublicKey& blsPubKey) const
{
std::string strError = "";
uint256 hash = GetSignatureHash();

CBLSSignature sig;
Expand Down Expand Up @@ -96,7 +94,6 @@ bool CPrivateSendBroadcastTx::Sign()
{
if (!fMasternodeMode) return false;

std::string strError = "";

uint256 hash = GetSignatureHash();

Expand All @@ -111,7 +108,6 @@ bool CPrivateSendBroadcastTx::Sign()

bool CPrivateSendBroadcastTx::CheckSignature(const CBLSPublicKey& blsPubKey) const
{
std::string strError = "";

uint256 hash = GetSignatureHash();

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void masternode_list_help()
" partial match)\n"
" keyid - Print the masternode (not collateral) key id\n"
" rank - Print rank of a masternode based on current block\n"
" status - Print masternode status: ENABED / POSE_BAN / OUTPOINT_SPENT\n"
" status - Print masternode status: ENABLED / POSE_BAN / OUTPOINT_SPENT\n"
" (can be additionally filtered, partial match)\n"
);
}
Expand Down

0 comments on commit 536229d

Please sign in to comment.