PPCoin: Remove redundant check condition in IsCoinStake()
authorSunny King <sunnyking9999@gmail.com>
Mon, 30 Apr 2012 17:59:20 +0000 (18:59 +0100)
committerSunny King <sunnyking9999@gmail.com>
Mon, 30 Apr 2012 17:59:20 +0000 (18:59 +0100)
src/main.h

index 2790201..1d8dc96 100644 (file)
@@ -510,7 +510,7 @@ public:
     bool IsCoinStake() const
     {
         // ppcoin: the coin stake transaction is marked with the first output empty
-        return ((!IsCoinBase()) && vout.size() == 2 && vout[0].IsEmpty());
+        return (vout.size() == 2 && vout[0].IsEmpty());
     }
 
     int GetSigOpCount() const