diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-21 15:43:12 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-21 15:45:41 -0300 |
commit | 2caef6dcf22ec292897ea5fd3dda27a9b48826c5 (patch) | |
tree | 30f6587e5ea9b52da17faa9ce5508d5b5867c54a /packages/taler-wallet-core/src | |
parent | 26cf19ab6c896a299a12605a7b1723540763f52c (diff) | |
download | wallet-core-2caef6dcf22ec292897ea5fd3dda27a9b48826c5.tar.xz |
moving deposit group fee into taler util
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/deposits.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts index 54fd323de..625bc0828 100644 --- a/packages/taler-wallet-core/src/operations/deposits.ts +++ b/packages/taler-wallet-core/src/operations/deposits.ts @@ -27,6 +27,7 @@ import { ContractTerms, CreateDepositGroupRequest, CreateDepositGroupResponse, + DepositGroupFees, durationFromSpec, encodeCrock, GetFeeForDepositRequest, @@ -568,12 +569,6 @@ export async function getEffectiveDepositAmount( return Amounts.sub(Amounts.sum(amt).amount, Amounts.sum(fees).amount).amount; } -export interface DepositGroupFees { - coin: AmountJson; - wire: AmountJson; - refresh: AmountJson; -} - /** * Get the fee amount that will be charged when trying to deposit the * specified amount using the selected coins and the wire method. |