include pay_deadline in payment request

This commit is contained in:
Florian Dold 2016-11-03 19:46:59 +01:00
parent 4976ba598a
commit dd45721bab

View File

@ -146,6 +146,7 @@ interface PayReq {
refund_deadline: string; refund_deadline: string;
timestamp: string; timestamp: string;
transaction_id: number; transaction_id: number;
pay_deadline: string;
} }
interface Transaction { interface Transaction {
@ -586,6 +587,7 @@ export class Wallet {
merchant_sig: offer.merchant_sig, merchant_sig: offer.merchant_sig,
exchange: URI(chosenExchange).href(), exchange: URI(chosenExchange).href(),
refund_deadline: offer.contract.refund_deadline, refund_deadline: offer.contract.refund_deadline,
pay_deadline: offer.contract.pay_deadline,
timestamp: offer.contract.timestamp, timestamp: offer.contract.timestamp,
transaction_id: offer.contract.transaction_id, transaction_id: offer.contract.transaction_id,
}; };