Skip to content

Commit 92cbcf8

Browse files
Fix node config.
1 parent 71a58eb commit 92cbcf8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

multiversx_sdk_cli/localnet/node_config_toml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def patch_config(data: ConfigDict, config: ConfigRoot, supernova_activation_epoc
4747
if supernova_activation_epoch and enable_epoch >= supernova_activation_epoch:
4848
item["RoundDuration"] = config.general.round_duration_milliseconds_in_supernova
4949
item["RoundsPerEpoch"] = config.general.rounds_per_epoch_in_supernova
50-
item["MinRoundsBetweenEpochs"] = (
50+
item["MinRoundsBetweenEpochs"] = int(
5151
config.general.rounds_per_epoch_in_supernova / ROUNDS_PER_EPOCH_TO_MIN_ROUNDS_BETWEEN_EPOCHS_RATIO
5252
)
5353
else:
5454
item["RoundDuration"] = config.general.round_duration_milliseconds
5555
item["RoundsPerEpoch"] = config.general.rounds_per_epoch
56-
item["MinRoundsBetweenEpochs"] = (
56+
item["MinRoundsBetweenEpochs"] = int(
5757
config.general.rounds_per_epoch / ROUNDS_PER_EPOCH_TO_MIN_ROUNDS_BETWEEN_EPOCHS_RATIO
5858
)
5959

0 commit comments

Comments
 (0)