mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
verify prune heights
(cherry picked from commit 31e902c350c7d59a439997a4b75edb4bc3beeb2a)
This commit is contained in:
parent
207b9a96e5
commit
0fab92d911
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ class FeatureIndexPruneTest(BitcoinTestFramework):
|
|||
|
||||
self.log.info("prune exactly up to the indices best blocks while the indices are disabled")
|
||||
for i in range(3):
|
||||
pruneheight_2 = self.nodes[i].pruneblockchain(700) # ELEMENTS FIXME: this should be 1000
|
||||
assert_equal(pruneheight_2, 589) # ELEMENTS FIXME: why this number?
|
||||
pruneheight_2 = self.nodes[i].pruneblockchain(700)
|
||||
assert_equal(pruneheight_2, 589) # prune height from disk serialization and default elements block file size.
|
||||
# Restart the nodes again with the indices activated
|
||||
self.restart_node(i, extra_args=self.extra_args[i])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue