Skip to content

Commit

Permalink
stake: Set the Delegation's warmup / cooldown to the correct default (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Aug 9, 2023
1 parent d5faa6e commit 31b6b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/program/src/stake/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
}
Expand Down

0 comments on commit 31b6b64

Please sign in to comment.