func WriteDatabaseVersion(db DatabaseWriter, version int) {
	enc, _ := rlp.EncodeToBytes(version)
	if err := db.Put(databaseVerisionKey, enc); err != nil {
		log.Crit("Failed to store the database version", "err", err)
	}
}
// WriteDatabaseVersion stores the version number of the database
WriteDatabaseVersion stores the version number of the database
// WriteDatabaseVersion stores the version number of the database
func WriteDatabaseVersion(db DatabaseWriter, version int) {
	enc, _ := rlp.EncodeToBytes(version)
	if err := db.Put(databaseVerisionKey, enc); err != nil {
		log.Crit("Failed to store the database version", "err", err)
	}
}
func WriteDatabaseVersion ( db DatabaseWriter , version int ) { enc , _ := rlp . EncodeToBytes ( version ) if err := db . Put ( databaseVerisionKey , enc ) ; err != nil { log . Crit ( " " , " " , err ) } }
WriteDatabaseVersion stores the version number of the database
WriteDatabaseVersion stores the version number of the database