Skip to content

Commit

Permalink
Merge pull request #471 from skalenetwork/hotfix/SKALE-4942-incorrect…
Browse files Browse the repository at this point in the history
…-finish-ts-rotation

SKALE-4942 Replace finish_ts with freeze_until
  • Loading branch information
dmytrotkk authored Feb 2, 2022
2 parents c972529 + 6f5ce8b commit 8180bba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skale/contracts/manager/node_rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_rotation(self, schain_name):
return {
'leaving_node': rotation_data[0],
'new_node': rotation_data[1],
'finish_ts': rotation_data[2],
'freeze_until': rotation_data[2],
'rotation_id': rotation_data[3]
}

Expand Down
2 changes: 1 addition & 1 deletion tests/manager/node_rotation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_get_rotation(skale):
assert skale.node_rotation.get_rotation(DEFAULT_SCHAIN_NAME) == {
'leaving_node': 0,
'new_node': 0,
'finish_ts': 0,
'freeze_until': 0,
'rotation_id': 0
}

Expand Down

0 comments on commit 8180bba

Please sign in to comment.