Skip to content

Commit

Permalink
Set hardfork params for cip92.
Browse files Browse the repository at this point in the history
  • Loading branch information
peilun-conflux committed Jan 26, 2022
1 parent fad1566 commit ae4de5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,9 @@ impl Configuration {
.unwrap_or(default_transition_time);
params.transition_numbers.cip92 = self
.raw_conf
.unnamed_21autumn_transition_number
// cip92 and cip90 are enabled at the same height for Testnet.
.cip90_transition_number
.or(self.raw_conf.unnamed_21autumn_transition_number)
.unwrap_or(default_transition_time);

params.transition_heights.cip76 = self
Expand Down

0 comments on commit ae4de5c

Please sign in to comment.