Skip to content

Commit

Permalink
getRandomMnemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarBasem committed Feb 16, 2024
1 parent 526e3d7 commit 046ede9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mobile/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -1327,3 +1327,11 @@ func InitLogging(logSettingsJSON string) string {

return makeJSONResponse(err)
}

func getRandomMnemonic() string {
resp, err := statusBackend.AccountManager().GetRandomMnemonic()
if err != nil {
return makeJSONResponse(err)
}
return resp
}

0 comments on commit 046ede9

Please sign in to comment.