From 350289162d3e0bebcdd26dd19fe02c126bc597a6 Mon Sep 17 00:00:00 2001 From: kanishka Date: Thu, 11 May 2023 23:06:51 +0530 Subject: [PATCH] use default account --- config/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index ba723e6188..5a680eabc8 100644 --- a/config/config.go +++ b/config/config.go @@ -31,6 +31,9 @@ const ( // DefaultPruning is the default pruning strategy DefaultPruning = pruner.Archive + // defaultAccount is the default account key + defaultAccount = "alice" + // DefaultRole is the default node role DefaultRole = common.AuthorityRole // DefaultWasmInterpreter is the default wasm interpreter @@ -352,7 +355,7 @@ func DefaultConfig() *Config { Wasmer: DefaultLogLevel, }, Account: &AccountConfig{ - Key: "", + Key: defaultAccount, Unlock: "", }, Core: &CoreConfig{