(cmd *cobra.Command, args []string)
| 43 | } |
| 44 | |
| 45 | func debugBlockIdsRun(cmd *cobra.Command, args []string) error { |
| 46 | oref, err := resolveBlockArg() |
| 47 | if err != nil { |
| 48 | return err |
| 49 | } |
| 50 | blockInfo, err := wshclient.BlockInfoCommand(RpcClient, oref.OID, nil) |
| 51 | if err != nil { |
| 52 | return err |
| 53 | } |
| 54 | barr, err := json.MarshalIndent(blockInfo, "", " ") |
| 55 | if err != nil { |
| 56 | return err |
| 57 | } |
| 58 | WriteStdout("%s\n", string(barr)) |
| 59 | return nil |
| 60 | } |
nothing calls this directly
no test coverage detected