Skip to content

Commit

Permalink
fix(connector): prefix deal id with 0x in setWorker call (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
folex authored Aug 14, 2024
1 parent a180a5c commit 3ab2896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chain-connector/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ impl HttpChainConnector {
}
.abi_encode();
tracing::debug!(target: "chain-connector", "Registering worker {worker_id} for deal {deal_id} with cu_id {cu_id}");
self.send_tx(data, deal_id.as_str()).await
self.send_tx(data, &deal_id.to_address()).await
}

fn difficulty_params(&self) -> ArrayParams {
Expand Down

0 comments on commit 3ab2896

Please sign in to comment.