Преглед на файлове

Rename ffi to match cdk (#1631)

* feat: rename ffi fns to match inner wallet
tsk преди 3 седмици
родител
ревизия
946e525873
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      crates/cdk-ffi/src/wallet_repository.rs

+ 2 - 2
crates/cdk-ffi/src/wallet_repository.rs

@@ -159,7 +159,7 @@ impl WalletRepository {
     }
 
     /// Add a mint to this WalletRepository
-    pub async fn add_mint(
+    pub async fn create_wallet(
         &self,
         mint_url: MintUrl,
         unit: Option<CurrencyUnit>,
@@ -182,7 +182,7 @@ impl WalletRepository {
     }
 
     /// Remove mint from WalletRepository
-    pub async fn remove_mint(
+    pub async fn remove_wallet(
         &self,
         mint_url: MintUrl,
         currency_unit: CurrencyUnit,