Merge pull request #245 from tdudz/isfeefix

remove unnecessary code in IsFee() method
This commit is contained in:
Gregory Sanders 2017-08-24 08:05:51 -04:00 committed by GitHub
commit 2ca0460bb8

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)