Make lint even happier

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-07-23 15:16:42 +02:00
parent fd374fa180
commit 1ec274671e
2 changed files with 2 additions and 2 deletions

View File

@ -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 err := state.SetActor(idAddr, &actor); err != nil {
if xerrors.Is(err, types.ErrActorNotFound) { if xerrors.Is(err, types.ErrActorNotFound) {
return nil, aerrors.Absorb(err, 1, "SetActor, actor not found") 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) _, err = vmctx.Send(idAddr, 0, vmctx.Message().Value, p.Params)

1
go.mod
View File

@ -67,6 +67,7 @@ require (
go4.org v0.0.0-20190313082347-94abd6928b1d // indirect go4.org v0.0.0-20190313082347-94abd6928b1d // indirect
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 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 gopkg.in/urfave/cli.v2 v2.0.0-20180128182452-d3ae77c26ac8
launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect launchpad.net/gocheck v0.0.0-20140225173054-000000000087 // indirect
) )