Skip to content

Commit

Permalink
Merge 31be628 into aed8b8a
Browse files Browse the repository at this point in the history
  • Loading branch information
geekres committed Sep 29, 2019
2 parents aed8b8a + 31be628 commit 07865f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ftservice/ftservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ func New(ctx *node.ServiceContext, config *Config) (*FtService, error) {
return nil, err
}
// used to generate MagicNetID
ftservice.p2pServer.GenesisHash = ftservice.blockchain.Genesis().Hash()
if ftservice.p2pServer != nil {
ftservice.p2pServer.GenesisHash = ftservice.blockchain.Genesis().Hash()
}

// txpool
if config.TxPool.Journal != "" {
Expand Down

0 comments on commit 07865f7

Please sign in to comment.