neo: GetValidators return same value as GetNextBlockValidators
When OnPersist, NeoToken use GetValidators to set storage NextValidators.
And getNextBlockValidators just read the storage.
But getValidtors also call GetValidators return the same value.
This is confusing. https://github.com/neo-project/neo/blob/919cc804de99b299c1f79f9c4cb14d3411e588c0/neo/SmartContract/Native/Tokens/NeoToken.cs#L111-L117 https://github.com/neo-project/neo/blob/919cc804de99b299c1f79f9c4cb14d3411e588c0/neo/SmartContract/Native/Tokens/NeoToken.cs#L238-L248
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (16 by maintainers)
Yes, if tx1 change the validators