pull/1125/head
Rongjian Lan 6 years ago
parent cf6c5c6c27
commit 547c04982c
  1. 7
      cmd/harmony/main.go

@ -4,13 +4,14 @@ import (
"encoding/hex"
"flag"
"fmt"
"github.com/harmony-one/bls/ffi/go/bls"
"math/rand"
"os"
"path"
"runtime"
"time"
"github.com/harmony-one/bls/ffi/go/bls"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/log"
@ -19,7 +20,7 @@ import (
"github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/internal/blsgen"
"github.com/harmony-one/harmony/internal/common"
"github.com/harmony-one/harmony/internal/configs/node"
nodeconfig "github.com/harmony-one/harmony/internal/configs/node"
"github.com/harmony-one/harmony/internal/ctxerror"
"github.com/harmony-one/harmony/internal/genesis"
hmykey "github.com/harmony-one/harmony/internal/keystore"
@ -250,7 +251,7 @@ func createGlobalConfig() *nodeconfig.ConfigType {
}
} else {
nodeConfig = nodeconfig.GetShardConfig(uint32(*shardID))
nodeConfig.ConsensusPriKey = &bls.SecretKey{} // set dummy bls key for consensus object
nodeConfig.ConsensusPriKey = &bls.SecretKey{} // set dummy bls key for consensus object
}
// Set network type

Loading…
Cancel
Save