Skip to content

Commit e18362f

Browse files
Fix UpdateResponse pattern to include summary field
Co-Authored-By: Ian Clarke <[email protected]>
1 parent 458696f commit e18362f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/freenet-ping/app/src/ping_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ pub async fn wait_for_put_response(
5656
return Err("unexpected key".into());
5757
}
5858
}
59-
Ok(Ok(HostResponse::ContractResponse(ContractResponse::UpdateResponse { key }))) => {
59+
Ok(Ok(HostResponse::ContractResponse(ContractResponse::UpdateResponse { key, summary }))) => {
6060
if &key == expected_key {
61-
tracing::info!("Received update response for key: {}", key);
61+
tracing::info!("Received update response for key: {}, summary: {:?}", key, summary);
6262
return Ok(key);
6363
} else {
6464
return Err("unexpected key".into());

0 commit comments

Comments
 (0)