git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5bd651e
)
PPCoin: Remove redundant check condition in IsCoinStake()
author
Sunny King
<sunnyking9999@gmail.com>
Mon, 30 Apr 2012 17:59:20 +0000 (18:59 +0100)
committer
Sunny King
<sunnyking9999@gmail.com>
Mon, 30 Apr 2012 17:59:20 +0000 (18:59 +0100)
src/main.h
patch
|
blob
|
history
diff --git
a/src/main.h
b/src/main.h
index
2790201
..
1d8dc96
100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-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