From 2b14efaf858d45c695e94a6ee8d1e797dd854e41 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Mon, 4 Dec 2023 10:42:08 +0100 Subject: [PATCH] Fix CongestionResponse (#1731) --- sdk/src/types/api/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/types/api/core.rs b/sdk/src/types/api/core.rs index 907f0891a3..48e89e3451 100644 --- a/sdk/src/types/api/core.rs +++ b/sdk/src/types/api/core.rs @@ -307,7 +307,7 @@ impl IssuanceBlockHeaderResponse { #[serde(rename_all = "camelCase")] pub struct CongestionResponse { /// The slot index for which the congestion estimate is provided. - pub slot_index: SlotIndex, + pub slot: SlotIndex, /// Indicates if a node is ready to issue a block in a current congestion or should wait. pub ready: bool, /// The cost in mana for issuing a block in a current congestion estimated based on RMC and slot index.