Explorar el Código

call wallet init_db() function when cashier daemon start

ghassmo hace 4 años
padre
commit
af8851aaa4
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/service/cashier.rs

+ 2 - 0
src/service/cashier.rs

@@ -73,6 +73,8 @@ impl CashierService {
 
         let (send, recv) = protocol.start().await?;
 
+        self.wallet.init_db()?;
+
         let wallet = self.wallet.clone();
         let btc_client = self.btc_client.clone();