stake: Set the Delegation's warmup / cooldown to the correct default (#32768)

This commit is contained in:
Jon Cinque 2023-08-09 17:45:26 +02:00 committed by GitHub
parent d5faa6e8aa
commit 31b6b64070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}
}
}