Skip to content

Commit 07aba8d

Browse files
committed
functional test: ensure confirmed utxo being sourced for 2nd chain
1 parent 3310a96 commit 07aba8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/mempool_package_onemore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def run_test(self):
4141
for _ in range(DEFAULT_ANCESTOR_LIMIT - 4):
4242
utxo, = self.chain_tx([utxo])
4343
chain.append(utxo)
44-
second_chain, = self.chain_tx([self.wallet.get_utxo()])
44+
second_chain, = self.chain_tx([self.wallet.get_utxo(confirmed_only=True)])
4545

4646
# Check mempool has DEFAULT_ANCESTOR_LIMIT + 1 transactions in it
4747
assert_equal(len(self.nodes[0].getrawmempool()), DEFAULT_ANCESTOR_LIMIT + 1)

0 commit comments

Comments
 (0)