summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-06 11:45:08 +0200
committerFlorian Dold <florian@dold.me>2021-08-06 11:45:08 +0200
commit9026b0aaada91262084f5eefbd3fa46c8ecb3c64 (patch)
tree2fa8b4ff4889a34b137376bc2b3b6bbf3ea6d5e6 /packages/taler-util/src
parentea0e058b3403373c1ead9709fe4d2deecaa6ff8b (diff)
downloadwallet-core-9026b0aaada91262084f5eefbd3fa46c8ecb3c64.tar.gz
wallet-core-9026b0aaada91262084f5eefbd3fa46c8ecb3c64.tar.bz2
wallet-core-9026b0aaada91262084f5eefbd3fa46c8ecb3c64.zip
merchant test: pass h_contract
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/walletTypes.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 4d49db029..e789b469a 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -324,6 +324,7 @@ export const codecForPreparePayResultPaymentPossible = (): Codec<PreparePayResul
.property("amountRaw", codecForAmountString())
.property("contractTerms", codecForContractTerms())
.property("proposalId", codecForString())
+ .property("contractTermsHash", codecForString())
.property(
"status",
codecForConstString(PreparePayResultType.PaymentPossible),
@@ -381,6 +382,7 @@ export interface PreparePayResultPaymentPossible {
status: PreparePayResultType.PaymentPossible;
proposalId: string;
contractTerms: ContractTerms;
+ contractTermsHash: string;
amountRaw: string;
amountEffective: string;
}