From 31b6b640706289ae198ddab576168d605790da71 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Wed, 9 Aug 2023 17:45:26 +0200 Subject: [PATCH] stake: Set the Delegation's warmup / cooldown to the correct default (#32768) --- sdk/program/src/stake/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/program/src/stake/state.rs b/sdk/program/src/stake/state.rs index f3b331be41f7b1..025b23c9d3139a 100644 --- a/sdk/program/src/stake/state.rs +++ b/sdk/program/src/stake/state.rs @@ -436,7 +436,7 @@ impl Default for Delegation { stake: 0, activation_epoch: 0, deactivation_epoch: std::u64::MAX, - warmup_cooldown_rate: 0.0, + warmup_cooldown_rate: DEFAULT_WARMUP_COOLDOWN_RATE, } } }