remove unnecessary code in IsFee() method

This commit is contained in:
Tom Dudzik 2017-08-24 11:17:56 +02:00
parent d57e5e5622
commit e0df838f7f

View file

@ -235,10 +235,7 @@ public:
bool IsFee() const
{
CAsset asset;
if (scriptPubKey == CScript() && nValue.IsExplicit() && nAsset.IsExplicit())
return true;
return false;
return scriptPubKey == CScript() && nValue.IsExplicit() && nAsset.IsExplicit();
}
friend bool operator==(const CTxOut& a, const CTxOut& b)