This commit is contained in:
Łukasz Magiera
2020-03-06 20:01:28 +01:00
parent 3d1a5f4bf3
commit 3cab8bd5d1
10 changed files with 74 additions and 75 deletions
+4 -4
View File
@@ -94,8 +94,8 @@ var syncWaitCmd = &cli.Command{
}
var syncMarkBadCmd = &cli.Command{
Name: "mark-bad",
Usage: "Mark the given block as bad, will prevent syncing to a chain that contains it",
Name: "mark-bad",
Usage: "Mark the given block as bad, will prevent syncing to a chain that contains it",
ArgsUsage: "[blockCid]",
Action: func(cctx *cli.Context) error {
napi, closer, err := GetFullNodeAPI(cctx)
@@ -119,8 +119,8 @@ var syncMarkBadCmd = &cli.Command{
}
var syncCheckBadCmd = &cli.Command{
Name: "check-bad",
Usage: "check if the given block was marked bad, and for what reason",
Name: "check-bad",
Usage: "check if the given block was marked bad, and for what reason",
ArgsUsage: "[blockCid]",
Action: func(cctx *cli.Context) error {
napi, closer, err := GetFullNodeAPI(cctx)