Merge pull request #6246 from filecoin-project/fix/6244

fix: wait-api should use GetAPI to acquire binary specific API
This commit is contained in:
Łukasz Magiera authored and GitHub committed 2021-05-17 17:41:59 +02:00
commit 6db2faea2c
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ var WaitApiCmd = &cli.Command{
Usage: "Wait for lotus api to come online",
Action: func(cctx *cli.Context) error {
for i := 0; i < 30; i++ {
api, closer, err := GetFullNodeAPI(cctx)
api, closer, err := GetAPI(cctx)
if err != nil {
fmt.Printf("Not online yet... (%s)\n", err)
time.Sleep(time.Second)