summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-17 21:59:47 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-17 21:59:47 +0100
commitbaab5b9d206169897b4c257ff6decf2c0b9fe1f6 (patch)
tree32867df58081954da78ed37cb5f72c24d6d99327 /src/types
parent21100c451bf967072756b5c0022839ddb0bb075b (diff)
downloadwallet-core-baab5b9d206169897b4c257ff6decf2c0b9fe1f6.tar.gz
wallet-core-baab5b9d206169897b4c257ff6decf2c0b9fe1f6.tar.bz2
wallet-core-baab5b9d206169897b4c257ff6decf2c0b9fe1f6.zip
H_wire -> h_wire
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" }],