diff --git a/provider/lpweb/hapi/robust_rpc.go b/provider/lpweb/hapi/robust_rpc.go index 24274f329..8f0780b8d 100644 --- a/provider/lpweb/hapi/robust_rpc.go +++ b/provider/lpweb/hapi/robust_rpc.go @@ -2,9 +2,10 @@ package hapi import ( "context" + "time" + "github.com/filecoin-project/lotus/api/client" cliutil "github.com/filecoin-project/lotus/cli/util" - "time" ) func (a *app) watchRpc() { diff --git a/provider/lpweb/hapi/simpleinfo.go b/provider/lpweb/hapi/simpleinfo.go index a898a8fd6..920546bde 100644 --- a/provider/lpweb/hapi/simpleinfo.go +++ b/provider/lpweb/hapi/simpleinfo.go @@ -2,14 +2,15 @@ package hapi import ( "context" - "github.com/filecoin-project/lotus/api/v1api" - "golang.org/x/xerrors" "html/template" "net/http" "os" "sync" "time" + "golang.org/x/xerrors" + + "github.com/filecoin-project/lotus/api/v1api" "github.com/filecoin-project/lotus/lib/harmony/harmonydb" ) diff --git a/provider/lpweb/hapi/watch_actor.go b/provider/lpweb/hapi/watch_actor.go index 31cf9ac1f..9505b6195 100644 --- a/provider/lpweb/hapi/watch_actor.go +++ b/provider/lpweb/hapi/watch_actor.go @@ -2,12 +2,15 @@ package hapi import ( "context" - "github.com/BurntSushi/toml" - "github.com/filecoin-project/go-address" - "github.com/filecoin-project/lotus/chain/types" - "golang.org/x/xerrors" "sort" "time" + + "github.com/BurntSushi/toml" + "golang.org/x/xerrors" + + "github.com/filecoin-project/go-address" + + "github.com/filecoin-project/lotus/chain/types" ) const watchInterval = time.Second * 10