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
     S: Storage + Sync + Send,
 {
-    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a> >
+    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a>>
     where
         Self: 'a;
 

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

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