2019-12-19 18:27:27 +00:00
|
|
|
// +build nimbus
|
|
|
|
|
|
|
|
package account
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/status-im/status-go/account/generator"
|
|
|
|
)
|
|
|
|
|
2019-11-27 12:22:23 +00: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 18:27:27 +00:00
|
|
|
return m
|
|
|
|
}
|
|
|
|
|
2020-01-09 18:11:56 +00: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 18:27:27 +00:00
|
|
|
|
2020-01-09 18:11:56 +00:00
|
|
|
// var err error
|
|
|
|
// m.keystore, err = makeKeyStore(keydir)
|
|
|
|
// return err
|
|
|
|
// }
|