Skip to content

Commit

Permalink
fix sendMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Sep 6, 2024
1 parent 88d4086 commit 4abc296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liteserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ impl LiteServer {
let code = serialize_toc(state_init.code().ok_or(anyhow!("no code in state"))?)?;
let data = serialize_toc(state_init.data().ok_or(anyhow!("no data in state"))?)?;
let mc_state = self.engine.load_state(&reference_id).await?;
let config = mc_state.shard_state_extra()?.config.write_to_bytes()?;
let config = mc_state.shard_state_extra()?.config.config_params.write_to_bytes()?;
let balance = acc.balance().and_then(|x| x.grams.as_u64()).unwrap_or(0);
let result = EmulatorBuilder::new(&code, &data)
.with_gas_limit(1000000)
Expand Down

0 comments on commit 4abc296

Please sign in to comment.