mirror of https://github.com/oxen-io/oxen-core.git
Fix rejection of ip changes state change txes (#706)
This commit is contained in:
parent
115d9a11ea
commit
0c05ce4502
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue