Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
silence48 committed May 7, 2018
1 parent 2e0a974 commit 4cf9d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bool COutPoint::IsMasternodeReward(const CTransaction* tx) const
if(!tx->IsCoinStake())
return false;

return (n == tx->vout ;l.size() - 1) && (tx->vout[1].scriptPubKey != tx->vout[n].scriptPubKey);
return (n == tx->vout.size() - 1) && (tx->vout[1].scriptPubKey != tx->vout[n].scriptPubKey);
}

uint256 CTxOut::GetHash() const
Expand Down

0 comments on commit 4cf9d7a

Please sign in to comment.