diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index b62c691842..c3d40d8c9c 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -357,6 +357,9 @@ public: { if (!nValue.IsAmount()) return false; // FIXME + uint256 assetid; + if (!nAsset.GetAssetID(assetid) || assetid != BITCOINID) + 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))