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: move increment id because the first fund was with id 0. #119

Merged

Conversation

EmmanuelAR
Copy link
Collaborator

Fix: move increment id because the first fund was with id 0.

@adrianvrj
Copy link
Member

@EmmanuelAR what is the reason for this change? it is known in programming that ids normally start with 0, as in any array the first position is taken as 0

@adrianvrj
Copy link
Member

I get it now, 0 would denote NULL if we are talking about table objects, great catch g, appreciate the change

@adrianvrj adrianvrj merged commit 7f22d85 into web3wagers:dev Oct 2, 2024
5 checks passed
@EmmanuelAR
Copy link
Collaborator Author

I see like in order, if we want to show the funds will be weird to see a id in 0, another point is that i see like a sql tables, the first register will !

@adrianvrj
Copy link
Member

@EmmanuelAR is this bug present in the other manager?

@EmmanuelAR
Copy link
Collaborator Author

@EmmanuelAR is this bug present in the other manager?

No, for the donator manager we use the donator address as key

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