status-go/api
Andrea Maria Piana dfe40ff6bd Init keystore fix
We delegate to services to init the keystore file, but there's a race
condition that can be triggered, whereby the keystore file is not
initialized before login, and that results in the user not being able to
login.

This commit changes the services so that the keystore is initialized
before login, I have left also the code in services just to make sure
nothing relies on it, but it could probably be removed.
Initializing keystore twice seems like a noop if already initialized.
2023-02-10 11:17:16 +00:00
..
multiformat Add compressed key to multiaccount/messages/contacts 2023-01-30 16:40:40 +00:00
.gitignore Fix some tests & upgrade contracts 2021-07-20 10:57:38 +02:00
app_state.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
app_state_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
backend.go upgrade ethereum 2022-10-26 09:39:30 +02:00
backend_test.go test: `TestConvertAccount` test update 2023-01-27 13:20:52 +01:00
geth_backend.go Init keystore fix 2023-02-10 11:17:16 +00:00
test_helpers.go replace deprecated ioutil.TempDir with os.MkdirTemp 2023-01-03 15:40:11 +01:00
utils.go synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
utils_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00