Skip to content

Commit

Permalink
Fix min_dissolve_delay_to_vote which were in seconds rather than mi…
Browse files Browse the repository at this point in the history
…llis
  • Loading branch information
hpeebles committed Apr 19, 2024
1 parent 3110891 commit 5d55540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/canisters/registry/impl/src/model/nervous_systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ impl NervousSystems {
ns.min_neuron_stake = min_neuron_stake;
any_updates = true;
}
let min_dissolve_delay_to_vote = parameters.neuron_minimum_dissolve_delay_to_vote_seconds.unwrap_or_default();
let min_dissolve_delay_to_vote =
parameters.neuron_minimum_dissolve_delay_to_vote_seconds.unwrap_or_default() * 1000;
if ns.min_dissolve_delay_to_vote != min_dissolve_delay_to_vote {
ns.min_dissolve_delay_to_vote = min_dissolve_delay_to_vote;
any_updates = true;
Expand Down

0 comments on commit 5d55540

Please sign in to comment.