Fix display when `stake_amount` isn't available

(i.e. for pre-8.1.5 lokid)
This commit is contained in:
Jason Rhinelander 2021-01-07 19:10:26 -04:00
parent 9a89a453b3
commit d6952d4435
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ This tx does not includes a vote from this testing service node (only 7 votes ar
<div class="TitleDivider"></div>
<p><label>Service Node Public Key:</label> {{tx.extra.sn_pubkey}}</p>
<p><label>Contributor Address:</label> {{tx.extra.sn_contributor}}</p>
<p><label>Contribution Amount:</label> {{tx.stake_amount | oxen}}</p>
<p><label>Contribution Amount:</label> {%if 'stake_amount' in tx%}{{tx.stake_amount | oxen}}{%else%}???{%endif%}</p>
{% endif %}
{% endif %}