aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-10-27 14:04:01 -0400
committerAaron Buchwald <[email protected]>2020-10-27 14:04:01 -0400
commit468a030602733e78e819d918b10af1e791aec7ba (patch)
tree98bf50d3ba44c265269b6bf6f39db80b61680b91 /plugin
parent806d04e9aa4b6e22fc2a484ada6fecb0c9a348e3 (diff)
Change default enabled API parameterv0.3.7
Diffstat (limited to 'plugin')
-rw-r--r--plugin/params.go3
1 files changed, 2 insertions, 1 deletions
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