From edd977f9b8d0884f50da452992d77e6001264677 Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Tue, 13 Jul 2021 13:09:47 +0200 Subject: [PATCH] added semicolon to init_db to fix not a database error --- src/wallet/walletdb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/walletdb.rs b/src/wallet/walletdb.rs index c34e57cb8..0ddade6a1 100644 --- a/src/wallet/walletdb.rs +++ b/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);