Fix HF10 min contribution display for awaiting nodes with 4+ contributions

This commit is contained in:
Jason Rhinelander 2022-06-16 14:06:44 -03:00
parent 09ef805a9a
commit 07182822c8
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
{%else%}
<td>{{sn.contribution_open | oxen(tag=false, fixed=true)}}</td>
{%endif%}
<td>{{ (0 if sn.num_contributions >= 4 else (sn.contribution_open / (max_contributors - sn.num_contributions)) | round(method='ceil')) | oxen(tag=false, fixed=true) }}</td>
<td>{{ (0 if sn.num_contributions >= max_contributors else (sn.contribution_open / (max_contributors - sn.num_contributions)) | round(method='ceil')) | oxen(tag=false, fixed=true) }}</td>
<td>
{%if sn.requested_unlock_height%}
<span title="Service Node unlock in progress (unlocks at block {{sn.requested_unlock_height}})">🔓</span>