Kaynağa Gözat

Rename ffi to match cdk (#1631)

* feat: rename ffi fns to match inner wallet
tsk 3 hafta önce
ebeveyn
işleme
946e525873
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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,