2019-12-19 19:27:27 +01:00
|
|
|
// +build nimbus
|
|
|
|
|
|
|
|
package account
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/status-im/status-go/account/generator"
|
|
|
|
)
|
|
|
|
|
2019-11-27 13:22:23 +01:00
|
|
|
// NimbusManager represents account manager interface.
|
|
|
|
type NimbusManager struct {
|
|
|
|
*Manager
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewNimbusManager returns new node account manager.
|
|
|
|
func NewNimbusManager() *NimbusManager {
|
|
|
|
m := &NimbusManager{}
|
|
|
|
m.Manager = &Manager{accountsGenerator: generator.New(m)}
|
2019-12-19 19:27:27 +01:00
|
|
|
return m
|
|
|
|
}
|
|
|
|
|
2020-01-09 19:11:56 +01:00
|
|
|
// // InitKeystore sets key manager and key store.
|
|
|
|
// func (m *Manager) InitKeystore(keydir string) error {
|
|
|
|
// m.mu.Lock()
|
|
|
|
// defer m.mu.Unlock()
|
2019-12-19 19:27:27 +01:00
|
|
|
|
2020-01-09 19:11:56 +01:00
|
|
|
// var err error
|
|
|
|
// m.keystore, err = makeKeyStore(keydir)
|
|
|
|
// return err
|
|
|
|
// }
|