From fd34e37e1a9225b184358118581ea7ea577e2dfd Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Sun, 3 Dec 2023 15:41:19 +0100 Subject: [PATCH] Fix CongestionResponse --- 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.