Temporarily disable panic on subtree validation failure (#7555)

Co-authored-by: Marek <mail@marek.onl>
This commit is contained in:
teor 2023-09-15 01:20:54 +10:00 committed by GitHub
parent 91ec8b910b
commit fa64926284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ pub fn check(db: &ZebraDb) {
let check_sapling_subtrees = check_sapling_subtrees(db);
let check_orchard_subtrees = check_orchard_subtrees(db);
if !check_sapling_subtrees || !check_orchard_subtrees {
panic!("missing or bad subtree(s)");
// TODO: make this a panic before releasing the subtree change (#7532)
error!("missing or bad subtree(s)");
}
}