Skip to content

Commit

Permalink
fix for PlatformStateForSavingV1
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Jul 11, 2024
1 parent 31176d6 commit 1f16546
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ impl TryFromPlatformVersioned<PlatformState> for PlatformStateForSaving {
let saving_v0: PlatformStateForSavingV0 = v0.try_into()?;
Ok(saving_v0.into())
}
1 => {
let saving_v1: PlatformStateForSavingV1 = v0.try_into()?;
Ok(saving_v1.into())
}
version => Err(Error::Execution(ExecutionError::UnknownVersionMismatch {
method:
"PlatformStateForSaving::try_from_platform_versioned(PlatformState)"
Expand Down

0 comments on commit 1f16546

Please sign in to comment.