Skip to content

Commit

Permalink
Use better storage error in tests (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh authored Jan 19, 2023
1 parent 6ed3b2e commit a68335e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-sdk/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl Env {
) -> Result<xdr::LedgerEntry, soroban_env_host::HostError> {
use xdr::{ScHostStorageErrorCode, ScStatus};
let status: internal::Status =
ScStatus::HostStorageError(ScHostStorageErrorCode::UnknownError).into();
ScStatus::HostStorageError(ScHostStorageErrorCode::MissingKeyInGet).into();
Err(status.into())
}

Expand Down

0 comments on commit a68335e

Please sign in to comment.