Ver Fonte

call wallet init_db() function when cashier daemon start

ghassmo há 4 anos atrás
pai
commit
af8851aaa4
1 ficheiros alterados com 2 adições e 0 exclusões
  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();