Skip to content

Commit

Permalink
webapi: Update netParams name in template.
Browse files Browse the repository at this point in the history
netParams was renamed to Network in a prior commit, but this instance
was not updated.
  • Loading branch information
jholdstock committed Sep 18, 2023
1 parent 74729c6 commit b8cc99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/webapi/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ <h4 class="alert-heading mb-3">
</div>
{{ end }}

{{ if not (eq .WebApiCfg.NetParams.Name "mainnet") }}
{{ if not (eq .WebApiCfg.Network.Name "mainnet") }}
<div class="alert alert-warning mb-3">
This Voting Service Provider is running on {{ .WebApiCfg.NetParams.Name }}.
This Voting Service Provider is running on {{ .WebApiCfg.Network.Name }}.
Visit <a href="https://decred.org/vsp/" class="alert-link" target="_blank" rel="noopener noreferrer">decred.org</a> to find a list of mainnet VSPs.
</div>
{{ end }}
Expand Down

0 comments on commit b8cc99e

Please sign in to comment.