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
self.log.info("Backup from the snapshot height can be loaded during background sync")
138
148
n1.restorewallet("w", "backup_w.dat")
149
+
# Balance of w wallet is still still 0 because n1 has not synced yet
150
+
assert_equal(n1.getbalance(), 0)
139
151
140
152
self.log.info("Backup from before the snapshot height can't be loaded during background sync")
141
153
assert_raises_rpc_error(-4, "Wallet loading failed. Error loading wallet. Wallet requires blocks to be downloaded, and software does not currently support loading wallets while blocks are being downloaded out of order when using assumeutxo snapshots. Wallet should be able to load successfully after node sync reaches height 299", n1.restorewallet, "w2", "backup_w2.dat")
@@ -172,6 +184,13 @@ def run_test(self):
172
184
173
185
self.log.info("Ensuring wallet can be restored from a backup that was created before the snapshot height")
0 commit comments