Skip to content

Fix isDefault#2451

Merged
erikzhang merged 5 commits intomasterfrom
isDefault
May 1, 2021
Merged

Fix isDefault#2451
erikzhang merged 5 commits intomasterfrom
isDefault

Conversation

@erikzhang
Copy link
Copy Markdown
Member

Fix #2450

@shargon
Copy link
Copy Markdown
Member

shargon commented Apr 27, 2021

Is not better to change the nep because all the json properties are in lowercase?

@erikzhang
Copy link
Copy Markdown
Member Author

isDefault is never used. It is not worth modifying the NEP.

shargon
shargon previously approved these changes Apr 27, 2021
@roman-khimov
Copy link
Copy Markdown
Contributor

I can't say we're using it often, but we do have a test for it and there is some associated logic.

https://github.com/nspcc-dev/neo-go/blob/933743ce870915ed8b15073f5bae0c4bdc710157/pkg/wallet/testdata/wallet2.json#L61

@shargon
Copy link
Copy Markdown
Member

shargon commented Apr 28, 2021

I will add a UT

shargon
shargon previously approved these changes Apr 28, 2021
Copy link
Copy Markdown
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think this can be removed for now and changed to other name.

@erikzhang erikzhang mentioned this pull request Apr 30, 2021
@erikzhang erikzhang merged commit 8b94f22 into master May 1, 2021
@erikzhang erikzhang deleted the isDefault branch May 1, 2021 10:36
snowypowers pushed a commit to CityOfZion/neon-js that referenced this pull request May 19, 2021
The property was initially renamed to isdefault by neo-project/neo#1736 now renamed back to isDefault by neo-project/neo#2451.

Close #736
ethan-devspace9ol added a commit to ethan-devspace9ol/neon-js that referenced this pull request Sep 28, 2025
The property was initially renamed to isdefault by neo-project/neo#1736 now renamed back to isDefault by neo-project/neo#2451.

Close #736
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.

NEP-6 inconsistency

4 participants