mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
remove unnecessary code in IsFee() method
This commit is contained in:
parent
d57e5e5622
commit
e0df838f7f
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue