mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Disable free transactions in TestPackageSelection
Dash allows free transactions by default, mixing up the expected ordering of transactions in TestPackageSelection
This commit is contained in:
parent
f8a7a2c88d
commit
f61a754020
@ -78,6 +78,9 @@ bool TestSequenceLocks(const CTransaction &tx, int flags)
|
||||
// Note that this test assumes blockprioritysize is 0.
|
||||
void TestPackageSelection(const CChainParams& chainparams, CScript scriptPubKey, std::vector<CTransaction *>& txFirst)
|
||||
{
|
||||
// Disable free transactions, otherwise TX selection is non-deterministic
|
||||
SoftSetArg("-blockprioritysize", "0");
|
||||
|
||||
// Test the ancestor feerate transaction selection.
|
||||
TestMemPoolEntryHelper entry;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user