From 468a030602733e78e819d918b10af1e791aec7ba Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Tue, 27 Oct 2020 14:04:01 -0400 Subject: Change default enabled API parameter --- plugin/params.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/params.go b/plugin/params.go index 1810295..7429d42 100644 --- a/plugin/params.go +++ b/plugin/params.go @@ -22,7 +22,7 @@ func init() { errs := wrappers.Errs{} fs := flag.NewFlagSet(name, flag.ContinueOnError) - config := fs.String("coreth-config", "default", "Pass in CLI Config to set runtime attributes for Coreth") + config := fs.String("config", "default", "Pass in CLI Config to set runtime attributes for Coreth") if err := fs.Parse(os.Args[1:]); err != nil { errs.Add(err) @@ -31,6 +31,7 @@ func init() { if *config == "default" { cliConfig.EthAPIEnabled = true + cliConfig.PersonalAPIEnabled = true cliConfig.TxPoolAPIEnabled = true cliConfig.RPCGasCap = 2500000000 // 25000000 x 100 cliConfig.RPCTxFeeCap = 100 // 100 AVAX -- cgit v1.2.3-70-g09d2