fix: use chain.TestnetGenesisHash constant instead of hardcoded string
Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
871150bd61
commit
0c4c619170
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ func runServe(dataDir, seed string, testnet bool, rpcBind, rpcPort, walletRPC st
|
|||
|
||||
// Set genesis hash for testnet.
|
||||
if testnet {
|
||||
chain.GenesisHash = "7cf844dc3e7d8dd6af65642c68164ebe18109aa5167b5f76043f310dd6e142d0"
|
||||
chain.GenesisHash = chain.TestnetGenesisHash
|
||||
}
|
||||
|
||||
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue