From a539b835129a25374ff1ad641be7386b234923ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 15 Jan 2024 17:34:10 +0100 Subject: [PATCH] make gen --- provider/lpweb/hapi/robust_rpc.go | 3 ++- provider/lpweb/hapi/simpleinfo.go | 5 +++-- provider/lpweb/hapi/watch_actor.go | 11 +++++++---- 3 files changed, 12 insertions(+), 7 deletions(-) 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