Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix: Fix undefined positions when cache is not primed #312

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

immasandwich
Copy link
Contributor

@immasandwich immasandwich commented Apr 29, 2022

Description

  • Unprimed cache returns undefined; default to an empty array in getPositions so that callers run successfully

Checklist

How to test?

No errors when starting ENABLED_APPS as pickle,yearn,curve,synthetix

@immasandwich immasandwich merged commit 7f82b34 into main Apr 29, 2022
@immasandwich immasandwich deleted the fix-undefined-positions branch April 29, 2022 02:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant