Skip to content

Commit

Permalink
fix: register_identity
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Nov 1, 2024
1 parent 0ffa920 commit fa5a69d
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 @@ -67,7 +67,7 @@ impl AppContext {
Err(error) if error.to_string().contains("AlreadyExists") => {
// tracing::warn!("Transaction already broadcasted.");

let GetTransactionResponse { block_hash, .. } = sdk
let response = sdk
.execute(
GetTransactionRequest {
id: asset_lock_transaction.txid().to_string(),
Expand All @@ -82,7 +82,7 @@ impl AppContext {
// );

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

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

0 comments on commit fa5a69d

Please sign in to comment.