mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge pull request #245 from tdudz/isfeefix
remove unnecessary code in IsFee() method
This commit is contained in:
commit
2ca0460bb8
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