From 4cf9d7a145157dd48957bf3655d16f210087daeb Mon Sep 17 00:00:00 2001 From: silence <35656692+silence48@users.noreply.github.com> Date: Mon, 7 May 2018 05:39:29 -0400 Subject: [PATCH] fix typo --- src/primitives/transaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp index eaf3acee..1cafa78a 100644 --- a/src/primitives/transaction.cpp +++ b/src/primitives/transaction.cpp @@ -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