Skip to content

Conversation

@arrijabba
Copy link
Contributor

When the big maps are all in the same level, using i + 1 at the end when passing the tuple is missing the last member because it stops at len - 1. A 16 length big map event was returning members 0 - 14 instead of 0 - 15.

I just added 1 in the final case and it fixed the issue on my end. I'm not sure if there are any side-effects here.

When the big maps are all in the same level, using `i + 1` at the end when passing the tuple is missing the last member because i stops at `len - 1`. A 16 length big map event was returning 0 - 14 instead of 0 - 15.

I just added 1 in the final case and it fixed the issue on my end. I'm not sure if there are any side-effects here.
@droserasprout
Copy link
Collaborator

Thank you! I will refactor this class someday.

@droserasprout droserasprout merged commit 5b2ba98 into dipdup-io:master Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants