added semicolon to init_db to fix not a database error

This commit is contained in:
lunar-mining
2021-07-13 13:09:47 +02:00
parent ef163efb32
commit edd977f9b8

View File

@@ -57,7 +57,7 @@ impl WalletDB {
let conn = Connection::open(&self.path)?;
debug!(target: "walletdb", "OPENED CONNECTION AT PATH {:?}", self.path);
conn.pragma_update(None, "key", &self.password)?;
conn.execute_batch(&contents)?
conn.execute_batch(&contents)?;
} else {
println!("Password is empty. You must set a password to use the wallet.");
println!("Current password: {}", self.password);