Skip to content

Commit

Permalink
Merge pull request #7 from SatoshiPortal/features/specter
Browse files Browse the repository at this point in the history
Features/specter
  • Loading branch information
Kexkey authored Nov 19, 2020
2 parents 7648877 + 5f52d0b commit 70172c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ aarch64_docker="arm64"
#arch_docker=${aarch64_docker}
arch_docker=${x86_docker}

version="v0.2.3"
version="v0.2.4"

echo "arch_docker=$arch_docker"

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func getInstallatioInfo() (*TemplateData,error) {
templateData.FeatureByName[installationInfo.Features[j].Label] = true
}
for j:=0; j< len(installationInfo.OptionalFeatures); j++ {
templateData.FeatureByName[installationInfo.OptionalFeatures[j].Label] = true
templateData.FeatureByName[installationInfo.OptionalFeatures[j].Label] = installationInfo.OptionalFeatures[j].Active
}

for i:=0; i< len(installationState.FeatureStates); i++ {
Expand Down
3 changes: 3 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
<div class="list-group mt-3">
<a class="list-group-item list-group-item-action" href="config.7z">Download your Cyphernode <b>configurations</b>, can be used for another Cyphernode deployment</a>
<a class="list-group-item list-group-item-action" href="certs.7z">Download Client <b>API ID's and keys</b>, needed in your client apps</a>
{{if index .FeatureByName "specter" }}
<a class="list-group-item list-group-item-action" href="/specter">Bitcoin Node Manager with Hardware Wallet Support (Specter)</a>
{{end}}
{{if index .FeatureByName "lightning" }}
<a class="list-group-item list-group-item-action" href="/sparkwallet">Your Lightning Network Wallet (Spark Wallet)</a>
{{end}}
Expand Down

0 comments on commit 70172c7

Please sign in to comment.