diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 817dd1517c..6e2abfa984 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -234,6 +234,8 @@ public: return false; // FIXME if (!nAsset.IsExplicit() || nAsset.GetAsset() != BITCOINID) return false; + if (IsFee()) + return false; //Withdrawlocks are evaluated at a higher, static feerate //to ensure peg-outs are IsStandard on mainchain if (scriptPubKey.IsWithdrawLock() && nValue.GetAmount() < GetDustThreshold(withdrawLockTxFee))