diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-01 18:56:22 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-01 18:56:22 +0100 |
commit | 0b1c78b58644001e63ea0dad63138ad74b62e5ba (patch) | |
tree | 82185d01e1c924b9de433539ee3f637c469c1f4d | |
parent | 0e6de2c31dbf8c21277481f112e99c52b913940f (diff) |
rename 'f' to 'contribution' in deposit permission
-rw-r--r-- | src/crypto/cryptoWorker.ts | 2 | ||||
-rw-r--r-- | src/types.ts | 2 | ||||
-rw-r--r-- | src/wallet.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/cryptoWorker.ts b/src/crypto/cryptoWorker.ts index 28634b234..3b954811a 100644 --- a/src/crypto/cryptoWorker.ts +++ b/src/crypto/cryptoWorker.ts @@ -326,7 +326,7 @@ namespace RpcFunctions { coin_pub: cd.coin.coinPub, coin_sig: coinSig, denom_pub: cd.coin.denomPub, - f: coinSpend.toJson(), + contribution: coinSpend.toJson(), ub_sig: cd.coin.denomSig, }; ret.sigs.push(s); diff --git a/src/types.ts b/src/types.ts index c0f36fc98..ae4454a83 100644 --- a/src/types.ts +++ b/src/types.ts @@ -829,7 +829,7 @@ export interface CoinPaySig { /** * The amount that is subtracted from this coin with this payment. */ - f: AmountJson; + contribution: AmountJson; } diff --git a/src/wallet.ts b/src/wallet.ts index 08e3049c5..ca94e1d59 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -2761,7 +2761,7 @@ export class Wallet { coin_pub: c.coinPaySig.coin_pub, coin_sig: c.coinPaySig.coin_sig, denom_pub: c.coinPaySig.denom_pub, - f: c.coinPaySig.f, + contribution: c.coinPaySig.contribution, h_contract_terms: coinsReturnRecord.contractTermsHash, merchant_pub: coinsReturnRecord.contractTerms.merchant_pub, pay_deadline: coinsReturnRecord.contractTerms.pay_deadline, |