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
expected_log=f"bad snapshot - coins left over after deserializing 298 coins"ifoff==-1elsef"bad snapshot format or truncated snapshot after deserializing 299 coins"
assert_raises_rpc_error(-32603, "Unable to load UTXO snapshot", self.nodes[1].loadtxoutset, bad_snapshot_path)
93
+
expected_error(log_msg=f"bad snapshot - coins left over after deserializing 298 coins"ifoff==-1elsef"bad snapshot format or truncated snapshot after deserializing 299 coins")
92
94
93
95
self.log.info(" - snapshot file with wrong outpoint hash")
94
96
withopen(bad_snapshot_path, "wb") asf:
95
97
f.write(valid_snapshot_contents[:(32+8)])
96
98
f.write(b"\xff"*32)
97
99
f.write(valid_snapshot_contents[(32+8+32):])
98
-
expected_log="[snapshot] bad snapshot content hash: expected ef45ccdca5898b6c2145e4581d2b88c56564dd389e4bd75a1aaf6961d3edd3c0, got 29926acf3ac81f908cf4f22515713ca541c08bb0f0ef1b2c3443a007134d69b8"
0 commit comments