From e4d8f266c6482bf4aff10851689a2942afb3019b Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 3 Jul 2020 19:49:21 +0200 Subject: [PATCH] make linter happy --- cmd/lotus-storage-miner/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lotus-storage-miner/main.go b/cmd/lotus-storage-miner/main.go index c977f1a17..ae8ea79e7 100644 --- a/cmd/lotus-storage-miner/main.go +++ b/cmd/lotus-storage-miner/main.go @@ -96,7 +96,7 @@ func main() { } } -func getActorAddress(ctx context.Context, nodeApi api.StorageMiner, overrideMaddr string) (maddr address.Address, err error) { +func getActorAddress(ctx context.Context, nodeAPI api.StorageMiner, overrideMaddr string) (maddr address.Address, err error) { if overrideMaddr != "" { maddr, err = address.NewFromString(overrideMaddr) if err != nil { @@ -104,7 +104,7 @@ func getActorAddress(ctx context.Context, nodeApi api.StorageMiner, overrideMadd } } - maddr, err = nodeApi.ActorAddress(ctx) + maddr, err = nodeAPI.ActorAddress(ctx) if err != nil { return maddr, xerrors.Errorf("getting actor address: %w", err) }