1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

More key changes

This commit is contained in:
mcrakhman 2023-03-25 13:15:19 +01:00 committed by Mikhail Iudin
parent c00ea331dc
commit 3778465e3b
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
29 changed files with 229 additions and 1046 deletions

View file

@ -13,7 +13,7 @@ import (
// AccountTestService provides service for test purposes, generates new random account every Init
type AccountTestService struct {
acc *accountdata.AccountData
acc *accountdata.AccountKeys
}
func (s *AccountTestService) Init(a *app.App) (err error) {
@ -43,7 +43,7 @@ func (s *AccountTestService) Init(a *app.App) (err error) {
if err != nil {
return err
}
s.acc = &accountdata.AccountData{
s.acc = &accountdata.AccountKeys{
Identity: ident,
PeerKey: peerKey,
SignKey: signKey,
@ -57,7 +57,7 @@ func (s *AccountTestService) Name() (name string) {
return accountService.CName
}
func (s *AccountTestService) Account() *accountdata.AccountData {
func (s *AccountTestService) Account() *accountdata.AccountKeys {
return s.acc
}