Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix storage deal resolution pattern #948

Merged
merged 2 commits into from
Jan 25, 2021
Merged

Fix storage deal resolution pattern #948

merged 2 commits into from
Jan 25, 2021

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:
So in go, apparently iterating over a slice causes each element to be copied. The difference here is that we were updating in place and they were updating a copy, then putting the resolution into a hashmap, which they lookup later. Seems a bit redundant, so I will open an issue. Times like this I really don't like go

Reference issue to close (if applicable)

Closes

Other information and links

@austinabell austinabell merged commit 18535f7 into main Jan 25, 2021
@austinabell austinabell deleted the austin/mresolution branch January 25, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants