cli: fix build with v1 api changes

This commit is contained in:
Łukasz Magiera
2021-04-03 12:55:29 +02:00
parent 0103d2f621
commit 1b32d7f52f
9 changed files with 31 additions and 24 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import (
"github.com/urfave/cli/v2"
"github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/api/v0api"
"github.com/filecoin-project/lotus/build"
)
@@ -240,7 +241,7 @@ var SyncCheckpointCmd = &cli.Command{
},
}
func SyncWait(ctx context.Context, napi api.FullNode, watch bool) error {
func SyncWait(ctx context.Context, napi v0api.FullNode, watch bool) error {
tick := time.Second / 4
lastLines := 0