diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:16:12 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:16:12 +0200 |
commit | d5bba630a35fff72b11273fb5e62c2208f9e1f5b (patch) | |
tree | 3397a580d663161be1ba7c46df368ac10d566cdc /src/crypto/cryptoApi.ts | |
parent | 419a05e801da688a1d0917a6bf16d468e6362a3d (diff) | |
download | wallet-core-d5bba630a35fff72b11273fb5e62c2208f9e1f5b.tar.xz |
implement returning coins to user's account
Diffstat (limited to 'src/crypto/cryptoApi.ts')
-rw-r--r-- | src/crypto/cryptoApi.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/cryptoApi.ts b/src/crypto/cryptoApi.ts index 139f8ae88..227c3d346 100644 --- a/src/crypto/cryptoApi.ts +++ b/src/crypto/cryptoApi.ts @@ -26,8 +26,8 @@ import { AmountJson, CoinRecord, + ContractTerms, DenominationRecord, - ProposalRecord, PayCoinInfo, PaybackRequest, PreCoinRecord, @@ -277,9 +277,9 @@ export class CryptoApi { return this.doRpc<PayCoinInfo>("isValidPaymentSignature", 1, sig, contractHash, merchantPub); } - signDeposit(proposal: ProposalRecord, + signDeposit(contractTerms: ContractTerms, cds: CoinWithDenom[]): Promise<PayCoinInfo> { - return this.doRpc<PayCoinInfo>("signDeposit", 3, proposal, cds); + return this.doRpc<PayCoinInfo>("signDeposit", 3, contractTerms, cds); } createEddsaKeypair(): Promise<{priv: string, pub: string}> { |