Prechádzať zdrojové kódy

fix: sqlx sqlite settings

feat: use transactions in all sql fns
thesimplekid 7 mesiacov pred
rodič
commit
f2867188a8

+ 2 - 4
crates/cdk-integration-tests/tests/mint.rs

@@ -37,7 +37,7 @@ async fn new_mint(fee: u64) -> Mint {
 
     let mnemonic = Mnemonic::generate(12).unwrap();
 
-    let mint = Mint::new(
+    Mint::new(
         MINT_URL,
         &mnemonic.to_seed_normalized(""),
         mint_info,
@@ -45,9 +45,7 @@ async fn new_mint(fee: u64) -> Mint {
         supported_units,
     )
     .await
-    .unwrap();
-
-    mint
+    .unwrap()
 }
 
 async fn initialize() -> &'static Mint {

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 470 - 158
crates/cdk-sqlite/src/mint/mod.rs


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov