Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export ARKD_SIGNER_ADDR=localhost:7071

2. Start arkd:
```sh
arkd
arkd start
```

3. Create a new wallet:
Expand Down
2 changes: 2 additions & 0 deletions cmd/arkd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"strings"
"time"

"github.com/arkade-os/arkd/internal/config"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/urfave/cli/v2"
)
Expand All @@ -20,6 +21,7 @@ var (
startCmd = &cli.Command{
Name: "start",
Usage: "Starts the arkd server",
Flags: config.Flags,
Action: startAction,
}

Expand Down
4 changes: 2 additions & 2 deletions cmd/arkd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const (
tlsCertFile = "cert.pem"
)

func startAction(_ *cli.Context) error {
cfg, err := config.LoadConfig()
func startAction(c *cli.Context) error {
cfg, err := config.LoadConfig(c)
if err != nil {
return fmt.Errorf("invalid config: %s", err)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ require (
github.com/redis/go-redis/v9 v9.10.0
github.com/shopspring/decimal v1.2.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/viper v1.20.1
github.com/sqlc-dev/pqtype v0.3.0
github.com/stretchr/testify v1.11.1
github.com/timshannon/badgerhold/v4 v4.0.3
Expand Down Expand Up @@ -181,6 +180,7 @@ require (
github.com/rogpeppe/fastuuid v1.2.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/soheilhy/cmux v0.1.5 // indirect
github.com/spf13/viper v1.20.1 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/tidwall/gjson v1.17.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand Down
Loading
Loading