Skip to content

Commit

Permalink
Fix revision checking for Irep
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunsoo Park committed Sep 7, 2021
1 parent 7cf36f8 commit 2fdcbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icon/iiss/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ func (es *ExtensionStateImpl) moveOnToNextTerm(
if revision < icmodule.RevisionDecentralize || revision >= icmodule.RevisionICON2R0 {
// disable IRep
irep = new(big.Int)
} else if revision > icmodule.RevisionSetIRepViaNetworkProposal {
} else if revision >= icmodule.RevisionSetIRepViaNetworkProposal {
// use network value IRep
irep = new(big.Int).Set(es.State.GetIRep())
} else {
Expand Down

0 comments on commit 2fdcbad

Please sign in to comment.