mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
Use node configuration for genesis retrieval (#332)
This commit is contained in:
parent
50535a4101
commit
07ff232c7d
@ -418,7 +418,7 @@ func main() {
|
||||
|
||||
if *core == 0 {
|
||||
for {
|
||||
genesis, err := config.DownloadAndVerifyGenesis(*network)
|
||||
genesis, err := config.DownloadAndVerifyGenesis(uint(nodeConfig.P2P.Network))
|
||||
if err != nil {
|
||||
time.Sleep(10 * time.Minute)
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user