Cesar Rodas 1 年間 前
コミット
e87da6d85a
2 ファイル変更2 行追加2 行削除
  1. 1 1
      utxo/src/storage/cache/mod.rs
  2. 1 1
      utxo/src/storage/sqlite/mod.rs

+ 1 - 1
utxo/src/storage/cache/mod.rs

@@ -50,7 +50,7 @@ impl<S> Storage for Cache<S>
 where
 where
     S: Storage + Sync + Send,
     S: Storage + Sync + Send,
 {
 {
-    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a> >
+    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a>>
     where
     where
         Self: 'a;
         Self: 'a;
 
 

+ 1 - 1
utxo/src/storage/sqlite/mod.rs

@@ -242,7 +242,7 @@ impl SQLite {
 impl Storage for SQLite {
 impl Storage for SQLite {
     type Batch<'a> = Batch<'a>
     type Batch<'a> = Batch<'a>
     where
     where
-    Self: 'a;
+        Self: 'a;
 
 
     async fn begin<'a>(&'a self) -> Result<Self::Batch<'a>, Error> {
     async fn begin<'a>(&'a self) -> Result<Self::Batch<'a>, Error> {
         self.db
         self.db