Skip to content

Commit

Permalink
Remove panic for older vms and return empty vec for decommiter instead
Browse files Browse the repository at this point in the history
  • Loading branch information
IAvecilla committed Aug 31, 2024
1 parent 2f92e1d commit 9a807e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/multivm/src/vm_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl<S: ReadStorage, H: HistoryMode> VmInstance<S, H> {
let vm = if let VmInstance::Vm1_5_0(vm) = &self {
vm
} else {
panic!("No supported for old VMs");
return vec![];
};

let mut result = vec![];
Expand Down

0 comments on commit 9a807e6

Please sign in to comment.