Ver Fonte

added semicolon to init_db to fix not a database error

lunar-mining há 5 anos atrás
pai
commit
edd977f9b8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/wallet/walletdb.rs

+ 1 - 1
src/wallet/walletdb.rs

@@ -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);