This commit is contained in:
@@ -426,6 +426,9 @@ func (id *Identity) GetRequestJobs() []RequestsJob {
|
||||
}
|
||||
|
||||
func (id *Identity) SaveBackgroundJob() error {
|
||||
if id.RootKp == nil {
|
||||
return errors.New("identity not fully initialized: RootKp is nil")
|
||||
}
|
||||
var bj BackgroundJob
|
||||
bj.Jobs = id.GetRequestJobs()
|
||||
bj.RootPublic = id.RootKp.Public
|
||||
|
||||
Reference in New Issue
Block a user