aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_1p1c_network.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/p2p_1p1c_network.py')
-rwxr-xr-xtest/functional/p2p_1p1c_network.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/p2p_1p1c_network.py b/test/functional/p2p_1p1c_network.py
index e88c826962..ea59248506 100755
--- a/test/functional/p2p_1p1c_network.py
+++ b/test/functional/p2p_1p1c_network.py
@@ -12,6 +12,9 @@ too-low-feerate transactions). The packages should be received and accepted by a
from decimal import Decimal
from math import ceil
+from test_framework.mempool_util import (
+ fill_mempool,
+)
from test_framework.messages import (
msg_tx,
)
@@ -22,7 +25,6 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import (
assert_equal,
assert_greater_than,
- fill_mempool,
)
from test_framework.wallet import (
MiniWallet,
@@ -45,8 +47,7 @@ class PackageRelayTest(BitcoinTestFramework):
self.supports_cli = False
def raise_network_minfee(self):
- filler_wallet = MiniWallet(self.nodes[0])
- fill_mempool(self, self.nodes[0], filler_wallet)
+ fill_mempool(self, self.nodes[0])
self.log.debug("Wait for the network to sync mempools")
self.sync_mempools()