You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_raises_rpc_error(-1, "Block not available (pruned data)", self.master_node.getblock, self.master_node.getblockhash(last_wallet_synced_block+1))
1621
+
1622
+
# Check migration failure
1623
+
mocked_time=int(time.time())
1624
+
self.master_node.setmocktime(mocked_time)
1625
+
assert_raises_rpc_error(-4, "last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of a pruned node)", self.master_node.migratewallet, wallet_name="")
1626
+
self.master_node.setmocktime(0)
1627
+
1628
+
# Verify the /wallets/ path exists, the wallet is still BDB and the backup file is there.
0 commit comments