From: alex Date: Sun, 8 Sep 2013 19:44:56 +0000 (+0400) Subject: Fix X-Git-Tag: v0.4.4.5~15 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=dd0655242abf284863090b855f277de06ec0f3c2 Fix --- diff --git a/src/main.h b/src/main.h index 8b57cd4..7a655a4 100644 --- a/src/main.h +++ b/src/main.h @@ -531,7 +531,7 @@ public: bool IsCoinStake() const { // ppcoin: the coin stake transaction is marked with the first output empty - return (vin.size() > 0 && (!vin[0].prevout.IsNull()) && vout.size() >= 2 && vout[0].IsEmpty() && !vout[1].IsEmpty()); + return (vin.size() > 0 && (!vin[0].prevout.IsNull()) && vout.size() >= 2 && vout[0].IsEmpty()); } /** Check for standard transaction types