make linter happy
This commit is contained in:
parent
faab606bd4
commit
e4d8f266c6
@ -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 != "" {
|
if overrideMaddr != "" {
|
||||||
maddr, err = address.NewFromString(overrideMaddr)
|
maddr, err = address.NewFromString(overrideMaddr)
|
||||||
if err != nil {
|
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 {
|
if err != nil {
|
||||||
return maddr, xerrors.Errorf("getting actor address: %w", err)
|
return maddr, xerrors.Errorf("getting actor address: %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user