aboutsummaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/types')
-rw-r--r--src/types/talerTypes.ts4
-rw-r--r--src/types/types-test.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts
index f8e449000..b1a864132 100644
--- a/src/types/talerTypes.ts
+++ b/src/types/talerTypes.ts
@@ -279,7 +279,7 @@ export class ContractTerms {
/**
* Hash of the merchant's wire details.
*/
- H_wire: string;
+ h_wire: string;
/**
* Hash of the merchant's wire details.
@@ -791,7 +791,7 @@ export const codecForContractTerms = () =>
.property("order_id", codecForString)
.property("fulfillment_url", codecForString)
.property("merchant_base_url", codecForString)
- .property("H_wire", codecForString)
+ .property("h_wire", codecForString)
.property("auto_refund", makeCodecOptional(codecForDuration))
.property("wire_method", codecForString)
.property("summary", codecForString)
diff --git a/src/types/types-test.ts b/src/types/types-test.ts
index 77ab2c4e4..67d379f7b 100644
--- a/src/types/types-test.ts
+++ b/src/types/types-test.ts
@@ -131,7 +131,7 @@ test("amount stringification", t => {
test("contract terms validation", t => {
const c = {
nonce: "123123123",
- H_wire: "123",
+ h_wire: "123",
amount: "EUR:1.5",
auditors: [],
exchanges: [{ master_pub: "foo", url: "foo" }],