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:
commit
6db2faea2c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user