Fix rejection of ip changes state change txes (#706)

This commit is contained in:
Jason Rhinelander 2019-07-02 21:22:57 -03:00 committed by Doyle
parent 115d9a11ea
commit 0c05ce4502
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ namespace service_nodes
return bad_tx(tvc);
}
if (state_change.state > new_state::recommission)
if (state_change.state >= new_state::_count)
{
LOG_PRINT_L1("Unknown state change to new state: " << static_cast<uint16_t>(state_change.state));
return bad_tx(tvc);