rename 'f' to 'contribution' in deposit permission

This commit is contained in:
Florian Dold 2018-01-01 18:56:22 +01:00
parent 0e6de2c31d
commit 0b1c78b586
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -829,7 +829,7 @@ export interface CoinPaySig {
/**
* The amount that is subtracted from this coin with this payment.
*/
f: AmountJson;
contribution: AmountJson;
}

View File

@ -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,