mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +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.
|
// Note that this test assumes blockprioritysize is 0.
|
||||||
void TestPackageSelection(const CChainParams& chainparams, CScript scriptPubKey, std::vector<CTransaction *>& txFirst)
|
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.
|
// Test the ancestor feerate transaction selection.
|
||||||
TestMemPoolEntryHelper entry;
|
TestMemPoolEntryHelper entry;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user