Skip to content

Commit 3796df4

Browse files
committed
try inner
1 parent bd9c061 commit 3796df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/identity/register_identity.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl AppContext {
4040
.execute(GetBlockchainStatusRequest {}, RequestSettings::default())
4141
.await?;
4242

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

4646
// tracing::debug!(
@@ -82,7 +82,7 @@ impl AppContext {
8282
// );
8383

8484
asset_lock_stream = sdk
85-
.start_instant_send_lock_stream(response.block_hash, address)
85+
.start_instant_send_lock_stream(response.inner.block_hash, address)
8686
.await?;
8787

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

0 commit comments

Comments
 (0)