Skip to content

Commit

Permalink
Update src/pages/core/entrypoints/migrate.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Otter <chipshort@tutanota.com>
  • Loading branch information
aumetra and chipshort committed May 23, 2024
1 parent d1f2874 commit 3603b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/core/entrypoints/migrate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const STATE_VERSION: u64 = 1;

#[entry_point]
pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> StdResult<Response> {
// Check if the state version is olden than the current one
// Check if the state version is older than the current one
let Some(current_state_version) = deps.storage.get(b"state") else {
return Err(StdError::generic_err("State not found"));
};
Expand Down

0 comments on commit 3603b5d

Please sign in to comment.