aboutsummaryrefslogtreecommitdiff
path: root/src/cryptoApi.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
commit10efd87a8ebcddb75d784f111af534b9d6ea494b (patch)
treeb1ace802de482e2ea5d253d097d5f37c5ceb9eae /src/cryptoApi.ts
parent41ed276f3aad355a8a2504759edf5b737922272e (diff)
store reservePub/blindingKey directly in coin
Diffstat (limited to 'src/cryptoApi.ts')
-rw-r--r--src/cryptoApi.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptoApi.ts b/src/cryptoApi.ts
index 8dd14392a..402b33acd 100644
--- a/src/cryptoApi.ts
+++ b/src/cryptoApi.ts
@@ -267,8 +267,8 @@ export class CryptoApi {
return this.doRpc<string>("rsaUnblind", 4, sig, bk, pk);
}
- createPaybackRequest(coin: CoinRecord, preCoin: PreCoinRecord): Promise<PaybackRequest> {
- return this.doRpc<PaybackRequest>("createPaybackRequest", 1, coin, preCoin);
+ createPaybackRequest(coin: CoinRecord): Promise<PaybackRequest> {
+ return this.doRpc<PaybackRequest>("createPaybackRequest", 1, coin);
}
createRefreshSession(exchangeBaseUrl: string,