Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkushin committed Feb 9, 2024
1 parent f5b5e42 commit 7484055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyperspace/cosmos/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ where
.flat_map(|e| ibc_event_try_from_abci_event(e, height).ok().into_iter())
.filter(|e| matches!(e, IbcEvent::PushWasmCode(_)))
.collect::<Vec<_>>();
let code_id = if result.len() != 1 {
let checksum = if result.len() != 1 {
return Err(Error::from(format!(
"Expected exactly one PushWasmCode event, found {}",
result.len()
Expand All @@ -1329,7 +1329,7 @@ where
// Error::from(format!("Failed to upload wasm code to grpc endpoint: {:?}", e))
// })?;

Ok(code_id)
Ok(checksum)
}
}

Expand Down

0 comments on commit 7484055

Please sign in to comment.