Make lint happy

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2021-01-26 17:18:15 +01:00
parent 28bed9ac54
commit b13428bf11
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -230,7 +230,8 @@ func send(ctx context.Context, api sendAPIs, params sendParams) (cid.Cid, error)
}
return sm.Cid(), nil
} else {
}
sm, err := api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return cid.Undef, err
@ -238,7 +239,6 @@ func send(ctx context.Context, api sendAPIs, params sendParams) (cid.Cid, error)
return sm.Cid(), nil
}
}
func decodeTypedParams(ctx context.Context, fapi api.FullNode, to address.Address, method abi.MethodNum, paramstr string) ([]byte, error) {
act, err := fapi.StateGetActor(ctx, to, types.EmptyTSK)