Skip to content

Commit

Permalink
fix host
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Feb 21, 2024
1 parent 9b93bb8 commit 7dc98be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package config
import (
"flag"
"fmt"
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/onflow/flow-go-sdk"
"github.com/onflow/flow-go-sdk/crypto"
"github.com/onflow/flow-go/fvm/evm/emulator"
"math/big"
)

const (
Expand Down Expand Up @@ -53,7 +54,7 @@ func FromFlags() (*Config, error) {

// parse from flags
flag.StringVar(&cfg.DatabaseDir, "database-dir", "./db", "path to the directory for the database")
flag.StringVar(&cfg.RPCHost, "rpc-host", "localhost", "host for the RPC API server")
flag.StringVar(&cfg.RPCHost, "rpc-host", "", "host for the RPC API server")
flag.IntVar(&cfg.RPCPort, "rpc-port", 3000, "port for the RPC API server")
flag.StringVar(&cfg.AccessNodeGRPCHost, "access-node-grpc-host", "localhost:3569", "host to the flow access node gRPC API")
flag.Uint64Var(&cfg.InitCadenceHeight, "init-cadence-height", EmptyHeight, "init cadence block height from where the event ingestion will start. WARNING: you should only provide this if there are no existing values in the database")
Expand Down

0 comments on commit 7dc98be

Please sign in to comment.