From 1ec274671e9d33da1384bbc1ec49a6161d1ddd55 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Tue, 23 Jul 2019 15:16:42 +0200 Subject: [PATCH] Make lint even happier License: MIT Signed-off-by: Jakub Sztandera --- chain/actors/actor_init.go | 3 +-- go.mod | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/actors/actor_init.go b/chain/actors/actor_init.go index fdb53dd72..7590fc7a1 100644 --- a/chain/actors/actor_init.go +++ b/chain/actors/actor_init.go @@ -130,9 +130,8 @@ func (ia InitActor) Exec(act *types.Actor, vmctx types.VMContext, p *ExecParams) if err := state.SetActor(idAddr, &actor); err != nil { if xerrors.Is(err, types.ErrActorNotFound) { return nil, aerrors.Absorb(err, 1, "SetActor, actor not found") - } else { - return nil, aerrors.Escalate(err, "inserting new actor into state tree") } + return nil, aerrors.Escalate(err, "inserting new actor into state tree") } _, err = vmctx.Send(idAddr, 0, vmctx.Message().Value, p.Params) diff --git a/go.mod b/go.mod index 052eacd27..bbdb89d66 100644 --- a/go.mod +++ b/go.mod @@ -67,6 +67,7 @@ require ( go4.org v0.0.0-20190313082347-94abd6928b1d // indirect golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 + google.golang.org/appengine v1.4.0 // indirect gopkg.in/urfave/cli.v2 v2.0.0-20180128182452-d3ae77c26ac8 launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect )