RPC: Add type parameter to dumptxoutset

This commit is contained in:
Fabian Jahr committed 2024-09-01 20:56:38 +02:00
1 parent fccf4f91d2
commit 993cafe7e4
5 files changed
+103 -7

No files matched your search

+1 -1
View File
@@ -295,7 +295,7 @@ class AssumeutxoTest(BitcoinTestFramework):
assert_equal(n1.getblockcount(), START_HEIGHT)
self.log.info(f"Creating a UTXO snapshot at height {SNAPSHOT_BASE_HEIGHT}")
dump_output = n0.dumptxoutset('utxos.dat')
dump_output = n0.dumptxoutset('utxos.dat', "latest")
self.log.info("Test loading snapshot when the node tip is on the same block as the snapshot")
assert_equal(n0.getblockcount(), SNAPSHOT_BASE_HEIGHT)