neo
neo copied to clipboard
Strange logic about the default seed node
When I built the private net, I removed the SeedList from config.json and it still connects to the seed node on startup
If it's empty it will take the defaults one
If you remove SeedList
, it will take the default ones. But if you pass an empty array []
, the seed list will be empty.
If you remove
SeedList
, it will take the default ones. But if you pass an empty array[]
, the seed list will be empty.
That's not how it really works
https://user-images.githubusercontent.com/6625537/174960340-c132e562-2d59-4347-b33b-333aae9ced0b.mov
It seems that empty array returns false in section.Exists()
...
https://github.com/dotnet/extensions/issues/1341 (works as designed)