From 3796df4bbafcc25e46bf4ae29b3840db3bb9fc7b Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Fri, 1 Nov 2024 14:16:49 +0200 Subject: [PATCH] try inner --- src/platform/identity/register_identity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/identity/register_identity.rs b/src/platform/identity/register_identity.rs index a726269..8e36c23 100644 --- a/src/platform/identity/register_identity.rs +++ b/src/platform/identity/register_identity.rs @@ -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!( @@ -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.");