Update API information without revision change.
@@ -718,7 +718,7 @@ func (s *ChainScore) Ex_setRevision(code *common.HexInt) error {
as := s.cc.GetAccountState(state.SystemID)
r := scoredb.NewVarDB(as, state.VarRevision).Int64()
- if code.Int64() <= r {
+ if code.Int64() < r {
return scoreresult.Errorf(StatusIllegalArgument,
"IllegalArgument(current=%#x,new=%s)", r, code)
}
