mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 19:53:27 +01:00
test: refactor: deduplicate DEFAULT_{ANCESTOR,DESCENDANT}_LIMIT constants
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
size.
|
||||
"""
|
||||
|
||||
from test_framework.messages import (
|
||||
DEFAULT_ANCESTOR_LIMIT,
|
||||
)
|
||||
from test_framework.test_framework import BitcoinTestFramework
|
||||
from test_framework.util import (
|
||||
assert_equal,
|
||||
@@ -15,10 +18,6 @@ from test_framework.util import (
|
||||
from test_framework.wallet import MiniWallet
|
||||
|
||||
|
||||
DEFAULT_ANCESTOR_LIMIT = 25
|
||||
DEFAULT_DESCENDANT_LIMIT = 25
|
||||
|
||||
|
||||
class MempoolPackagesTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 1
|
||||
|
||||
Reference in New Issue
Block a user