mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-20 14:14:49 +01:00
fix: sqlx sqlite settings
feat: use transactions in all sql fns
This commit is contained in:
@@ -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 {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user