kardiachain/go-kardia

Hardcoded Private Key

sihoang opened this issue · 3 comments

I was wondering why the private key is hardcoded in the main config
https://github.com/kardiachain/go-kardia/blob/master/cmd/cfg/kai_config.yaml#L19

 P2P:
    PrivateKey: 8843ebcb1021b00ae9a644db6617f9c6d870e5fd53624cefe374c1d2d710fd06
    ListenAddress: tcp://0.0.0.0:3000
    MaxPeers: 25

It's a private key that map with the address in genesis file for local development. We will update the proper config.
Thank you for your contribution

@sihoang please check the PR and close this issue

Closed due to no response