Skip to content

Commit b9eacdc

Browse files
committed
[Refactoring] No need to check mint-outputs to define coinbase txes
1 parent c14870b commit b9eacdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/transaction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ class CTransaction
389389

390390
bool IsCoinBase() const
391391
{
392-
return (vin.size() == 1 && vin[0].prevout.IsNull() && !ContainsZerocoins());
392+
return (vin.size() == 1 && vin[0].prevout.IsNull() && !vin[0].scriptSig.IsZerocoinSpend());
393393
}
394394

395395
bool IsCoinStake() const;

0 commit comments

Comments
 (0)