Skip to content

Commit

Permalink
try inner
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Nov 1, 2024
1 parent bd9c061 commit 3796df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/identity/register_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl AppContext {
.execute(GetBlockchainStatusRequest {}, RequestSettings::default())
.await?;

let block_hash = response.chain.map(|chain| chain.best_block_hash)
let block_hash = response.inner.chain.map(|chain| chain.best_block_hash)
.ok_or_else(|| dash_sdk::Error::DapiClientError("Missing `chain` field".to_owned()))?;

// tracing::debug!(
Expand Down Expand Up @@ -82,7 +82,7 @@ impl AppContext {
// );

asset_lock_stream = sdk
.start_instant_send_lock_stream(response.block_hash, address)
.start_instant_send_lock_stream(response.inner.block_hash, address)
.await?;

// tracing::debug!("Stream restarted.");
Expand Down

0 comments on commit 3796df4

Please sign in to comment.