summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/walletTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/walletTypes.ts')
-rw-r--r--packages/taler-util/src/walletTypes.ts17
1 files changed, 2 insertions, 15 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 6dcaac78d..8c6ec7431 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -682,21 +682,6 @@ const codecForWireInfo = (): Codec<WireInfo> =>
.property("accounts", codecForList(codecForExchangeAccount()))
.build("codecForWireInfo");
-const codecForDenominationInfo = (): Codec<DenominationInfo> =>
- buildCodecForObject<DenominationInfo>()
- .property("denomPubHash", codecForString())
- .property("value", codecForAmountJson())
- .property("feeWithdraw", codecForAmountJson())
- .property("feeDeposit", codecForAmountJson())
- .property("feeRefresh", codecForAmountJson())
- .property("feeRefund", codecForAmountJson())
- .property("stampStart", codecForTimestamp)
- .property("stampExpireWithdraw", codecForTimestamp)
- .property("stampExpireLegal", codecForTimestamp)
- .property("stampExpireDeposit", codecForTimestamp)
- .property("exchangeBaseUrl", codecForString())
- .build("codecForDenominationInfo");
-
export interface DenominationInfo {
/**
* Value of one coin of the denomination.
@@ -709,6 +694,8 @@ export interface DenominationInfo {
*/
denomPubHash: string;
+ denomPub: DenominationPubKey;
+
/**
* Fee for withdrawing.
*/