Skip to content

Fix first contract id#2277

Merged
erikzhang merged 4 commits intoneo-project:masterfrom
shargon:fix-first-id
Jan 28, 2021
Merged

Fix first contract id#2277
erikzhang merged 4 commits intoneo-project:masterfrom
shargon:fix-first-id

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