1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 01:51:07 +09:00

GO-732: fix account creation

Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
This commit is contained in:
AnastasiaShemyakinskaya 2023-04-25 18:17:59 +02:00 committed by Mikhail Iudin
parent b2d5a2c5d6
commit c7c574e2d1
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -64,7 +64,7 @@ func (mw *Middleware) createAccount(profile *pb.Profile, req *pb.RpcUserDataImpo
return err
}
cfg := anytype.BootstrapConfig(false, os.Getenv("ANYTYPE_STAGING") == "1")
cfg := anytype.BootstrapConfig(true, os.Getenv("ANYTYPE_STAGING") == "1")
index := len(mw.foundAccounts)
var account wallet.Keypair
for {