瀏覽代碼

cargo fmt

ghassmo 4 年之前
父節點
當前提交
c1b145517f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/wallet/walletdb.rs

+ 1 - 1
src/wallet/walletdb.rs

@@ -186,7 +186,7 @@ impl WalletDb {
         Ok(())
     }
 
-    pub fn key_gen(&self) -> Result<(Vec<u8>, Vec<u8>)>  {
+    pub fn key_gen(&self) -> Result<(Vec<u8>, Vec<u8>)> {
         debug!(target: "WALLETDB", "Attempting to generate keys...");
         let secret: jubjub::Fr = jubjub::Fr::random(&mut OsRng);
         let public = zcash_primitives::constants::SPENDING_KEY_GENERATOR * secret;