Initialize keystore in statusd (#1592)
This reverts commit 0b403ce25b
because otherwise the CI fails.
This commit is contained in:
parent
bf95a71f6f
commit
3dbcb6a19e
3
Makefile
3
Makefile
|
@ -212,8 +212,7 @@ xgo-install:
|
|||
go get -u github.com/karalabe/xgo
|
||||
|
||||
gomobile-install: xtools-install
|
||||
go get -d golang.org/x/mobile/cmd/gomobile
|
||||
cd $(GOPATH)/src/golang.org/x/mobile && git checkout 30c70e3810e97d051f18b66d59ae242540c0c391 && go install ./cmd/gomobile
|
||||
go get golang.org/x/mobile/cmd/gomobile
|
||||
|
||||
release-install:
|
||||
go get -u github.com/c4milo/github-release
|
||||
|
|
|
@ -123,6 +123,11 @@ func main() {
|
|||
}
|
||||
|
||||
backend := api.NewStatusBackend()
|
||||
err = backend.AccountManager().InitKeystore(config.KeyStoreDir)
|
||||
if err != nil {
|
||||
logger.Error("Failed to init keystore", "error", err)
|
||||
return
|
||||
}
|
||||
err = backend.StartNode(config)
|
||||
if err != nil {
|
||||
logger.Error("Node start failed", "error", err)
|
||||
|
|
Loading…
Reference in New Issue