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;
55use crate :: config:: Config ;
66use crate :: util:: { bincode, Bytes } ;
77
8- static DB_VERSION : u32 = 1 ;
8+ static DB_VERSION : u32 = 2 ;
99
1010#[ derive( Debug , Eq , PartialEq ) ]
1111pub struct DBRow {
@@ -201,8 +201,8 @@ impl DB {
201201
202202 if config. light_mode {
203203 // 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
206206 // time we bump DB_VERSION and require a re-index anyway.
207207 compatibility_bytes. push ( 1 ) ;
208208 }
You can’t perform that action at this time.
0 commit comments