Skip to content

Commit

Permalink
Merge pull request #47 from maticnetwork/raneet10/pos-845
Browse files Browse the repository at this point in the history
Modify producer delay
  • Loading branch information
Raneet10 authored Oct 10, 2022
2 parents 820bbfc + 132e1f7 commit 18c1255
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 164 deletions.
2 changes: 1 addition & 1 deletion genesis-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% else %}"{{block.number}}": {{block.time}},{% endif %}
{% endfor %}
},
"producerDelay": 6,
"producerDelay": {% for block in blocks| sort(false, false) %}{% endfor %}{{blocks[blocks.length -1].time}},
"sprint": {{sprintSize}},
"backupMultiplier": {
{% for block in blocks %}{% if block === blocks[blocks.length -1] %}"{{block.number}}": {{block.time}}
Expand Down
Loading

0 comments on commit 18c1255

Please sign in to comment.