Skip to content

Commit

Permalink
Fix testnet hrp
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed May 6, 2024
1 parent cacc8fb commit 27bb96a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/collector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/spacemeshos/explorer-backend/collector"
"github.com/spacemeshos/explorer-backend/collector/sql"
"github.com/spacemeshos/explorer-backend/storage"
"github.com/spacemeshos/go-spacemesh/common/types"
"github.com/spacemeshos/go-spacemesh/log"
"github.com/urfave/cli/v2"
"net/http"
Expand Down Expand Up @@ -157,6 +158,7 @@ func main() {

if testnetBoolFlag {
address.SetAddressConfig("stest")
types.SetNetworkHRP("stest")
log.Info(`Network HRP set to "stest"`)
}

Expand Down

0 comments on commit 27bb96a

Please sign in to comment.