We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd9c061 commit 3796df4Copy full SHA for 3796df4
src/platform/identity/register_identity.rs
@@ -40,7 +40,7 @@ impl AppContext {
40
.execute(GetBlockchainStatusRequest {}, RequestSettings::default())
41
.await?;
42
43
- let block_hash = response.chain.map(|chain| chain.best_block_hash)
+ let block_hash = response.inner.chain.map(|chain| chain.best_block_hash)
44
.ok_or_else(|| dash_sdk::Error::DapiClientError("Missing `chain` field".to_owned()))?;
45
46
// tracing::debug!(
@@ -82,7 +82,7 @@ impl AppContext {
82
// );
83
84
asset_lock_stream = sdk
85
- .start_instant_send_lock_stream(response.block_hash, address)
+ .start_instant_send_lock_stream(response.inner.block_hash, address)
86
87
88
// tracing::debug!("Stream restarted.");
0 commit comments