(ctx *cli.Context)
| 156 | } |
| 157 | |
| 158 | func checkFileName(ctx *cli.Context) string { |
| 159 | if ctx.IsSet(utils.GetFlagName(utils.WalletFileFlag)) { |
| 160 | return ctx.String(utils.GetFlagName(utils.WalletFileFlag)) |
| 161 | } else { |
| 162 | //default account file name |
| 163 | return config.DEFAULT_WALLET_FILE_NAME |
| 164 | } |
| 165 | } |
| 166 | func checkNumber(ctx *cli.Context) int { |
| 167 | numFlag := utils.GetFlagName(utils.AccountQuantityFlag) |
| 168 | if ctx.IsSet(numFlag) { |
no test coverage detected