Commit 0207f72
committed
Always read chain config from genesis
This will prevent problems where a node needs to be restarted twice before it could pick up a new hardfork from genesis. This was caused by an old version of chain config, which was previously stored in database, being used by a node at start. The commit will avoid reading any old chain config from db and always read it directly from a genesis file or from the binary itself.1 parent 86d913a commit 0207f72
1 file changed
+1
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 167 | | |
182 | 168 | | |
183 | 169 | | |
| |||
204 | 190 | | |
205 | 191 | | |
206 | 192 | | |
207 | | - | |
| 193 | + | |
208 | 194 | | |
209 | 195 | | |
210 | 196 | | |
| |||
0 commit comments