Skip to content

Commit

Permalink
Remov unused vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
birdychang authored and frrist committed Nov 16, 2022
1 parent c69a145 commit 872ae25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lens/util/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func MakeGetActorCodeFunc(ctx context.Context, store adt.Store, next, current *t
_, innerSpan := otel.Tracer("").Start(ctx, "GetActorCode")
defer innerSpan.End()

act, err := nextStateTree.GetActor(a)
act, _ := nextStateTree.GetActor(a)
if act != nil {
return act.Code, true
}
Expand All @@ -204,7 +204,7 @@ func MakeGetActorCodeFunc(ctx context.Context, store adt.Store, next, current *t
return cid.Undef, false
}

act, err = nextStateTree.GetActor(ra)
act, _ = nextStateTree.GetActor(ra)
if act != nil {
return act.Code, true
}
Expand Down

0 comments on commit 872ae25

Please sign in to comment.