瀏覽代碼

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,