(c *cli.Context)
| 267 | } |
| 268 | |
| 269 | func actionRnadom(c *cli.Context) error { |
| 270 | r, err := makeRequest("/signalRandom") |
| 271 | if err == nil { |
| 272 | fmt.Println("trigger guardian functions : \n", string(r)) |
| 273 | return nil |
| 274 | } |
| 275 | return err |
| 276 | } |
| 277 | func createWallet() (string, error) { |
| 278 | first := getPassword("Generating node wallet...\nEnter passphrase (empty is not allowed): ") |
| 279 | if first == "" { |
nothing calls this directly
no test coverage detected