forked from cerc-io/laconicd-deprecated
* fix(rpc): bind default json-rpc listen address to localhost (#1613) * update nix * bind default json-rpc to 127.0.0.1 * add change doc * Update CHANGELOG.md Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> (cherry picked from commit 3587015b27625bc6c0a002142db0a4dfdc9ecf59) # Conflicts: # CHANGELOG.md * address merge conflicts Co-authored-by: mmsqe <tqd0800210105@gmail.com> Co-authored-by: MalteHerrmann <malte@evmos.org>
This commit is contained in:
co-authored by
mmsqe
MalteHerrmann
parent
9f2e21fa90
commit
c1c25b1818
@@ -332,7 +332,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
appCfg.JSONRPC.Address = fmt.Sprintf("0.0.0.0:%s", jsonRPCPort)
|
||||
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)
|
||||
}
|
||||
appCfg.JSONRPC.Enable = true
|
||||
appCfg.JSONRPC.API = config.GetAPINamespaces()
|
||||
|
||||
Reference in New Issue
Block a user