Conversation
|
@shargon Change for what? |
|
Add the default value, if the section exists, but the values don't |
|
@shargon I've already add the default values in this PR :) Or which param else do you think is need to have default value as well? |
| public StorageSettings(IConfigurationSection section) | ||
| { | ||
| this.Engine = section.GetSection("Engine").Value; | ||
| this.Engine = section.GetValue("Engine", "LevelDBStore"); |
There was a problem hiding this comment.
The default value should be MemoryStore. Because LevelDBStore might be not installed.
There was a problem hiding this comment.
@erikzhang But due to config.json's default settings, it's using LevelDBStore but not MemoryStore, or shall I modify config.json as well?
Line 4 in 605fccb
Lines 88-91 https://github.com/neo-project/neo-node/pull/584/files#diff-0327b59f4dd09986f49db7500602d9a9R88-R91 |
The initial value of |
|
dotnet format please |
|
@shargon Could you fix this? I don't know much about it. |
Done, re-run and it works |


Close #583