From 79a2eed5589468c2df3e4ee2d190d9fc43b80fe9 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 26 Apr 2017 03:10:52 +0200 Subject: remove dependency in taler-wallet-lib, implement pay signature check/storage --- src/cryptoApi.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cryptoApi.ts') diff --git a/src/cryptoApi.ts b/src/cryptoApi.ts index 672b90d74..98fc2c66a 100644 --- a/src/cryptoApi.ts +++ b/src/cryptoApi.ts @@ -235,6 +235,10 @@ export class CryptoApi { return this.doRpc("isValidDenom", 2, denom, masterPub); } + isValidPaymentSignature(sig: string, contractHash: string, merchantPub: string) { + return this.doRpc("isValidPaymentSignature", 1, sig, contractHash, merchantPub); + } + signDeposit(offer: OfferRecord, cds: CoinWithDenom[]): Promise { return this.doRpc("signDeposit", 3, offer, cds); -- cgit v1.2.3