(ctx *cli.Context)
| 159 | } |
| 160 | |
| 161 | func curBlockHeight(ctx *cli.Context) error { |
| 162 | SetRpcPort(ctx) |
| 163 | count, err := utils.GetBlockCount() |
| 164 | if err != nil { |
| 165 | return err |
| 166 | } |
| 167 | PrintInfoMsg("CurrentBlockHeight:%d", count-1) |
| 168 | return nil |
| 169 | } |
| 170 | |
| 171 | func showTx(ctx *cli.Context) error { |
| 172 | SetRpcPort(ctx) |
nothing calls this directly
no test coverage detected