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 first contract id #2277

Merged
merged 4 commits into from
Jan 28, 2021
Merged

Fix first contract id #2277

merged 4 commits into from
Jan 28, 2021

Conversation

shargon
Copy link
Member

@shargon shargon commented Jan 28, 2021

Now the fist Id it's 0, it should be 1

vncoelho
vncoelho previously approved these changes Jan 28, 2021
@erikzhang
Copy link
Member

I think maybe 0 should be the first.

@vncoelho
Copy link
Member

I think that 1 sounds good because native starts with -1.

@vncoelho
Copy link
Member

But either are good to me.

@shargon
Copy link
Member Author

shargon commented Jan 28, 2021

As @vncoelho said, we have <0 for native >0 for non native, 0 could be a default value to know that it's not stored.

@erikzhang erikzhang merged commit 87856b9 into neo-project:master Jan 28, 2021
@erikzhang erikzhang deleted the fix-first-id branch January 28, 2021 17:42
ixje added a commit to CityOfZion/neo-mamba that referenced this pull request Feb 26, 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.

3 participants