File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use std::path::Path;
5
5
use crate :: config:: Config ;
6
6
use crate :: util:: Bytes ;
7
7
8
- static DB_VERSION : u32 = 1 ;
8
+ static DB_VERSION : u32 = 2 ;
9
9
10
10
#[ derive( Debug , Eq , PartialEq ) ]
11
11
pub struct DBRow {
@@ -201,8 +201,8 @@ impl DB {
201
201
202
202
if config. light_mode {
203
203
// append a byte to indicate light_mode is enabled.
204
- // we're not letting bincode serialize this so that the compatiblity bytes won't change
205
- // (and require a reindex) when light_mode is disabled. this should be chagned the next
204
+ // we're not letting bincode serialize this so that the compatibility bytes won't change
205
+ // (and require a reindex) when light_mode is disabled. this should be changed the next
206
206
// time we bump DB_VERSION and require a re-index anyway.
207
207
compatibility_bytes. push ( 1 ) ;
208
208
}
You can’t perform that action at this time.
0 commit comments