Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm50 authored Mar 25, 2024
1 parent 888ff17 commit 8fca0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (m *Manager) ForceCommit(slot iotago.SlotIndex) (*model.Commitment, error)
}

func (m *Manager) ForceCommitUntil(commitUntilSlot iotago.SlotIndex) error {
m.LogInfo("force committing", "slot", commitUntilSlot)
m.LogInfo("force committing until", "slot", commitUntilSlot)

for i := m.storage.Settings().LatestCommitment().Slot() + 1; i <= commitUntilSlot; i++ {
if _, err := m.ForceCommit(i); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tools/genesis-snapshot/presets/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
ProtocolParamsDocker = iotago.NewV3SnapshotProtocolParameters(
iotago.WithNetworkOptions(fmt.Sprintf("docker-%d", time.Now().Unix()), iotago.PrefixTestnet),
iotago.WithTimeProviderOptions(5, time.Now().Unix(), 10, 13),
iotago.WithLivenessOptions(20, 30, 5, 10, 15),
iotago.WithLivenessOptions(10, 15, 3, 6, 8),
)

// use defaults from iota.go.
Expand Down

0 comments on commit 8fca0d6

Please sign in to comment.