diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-03 19:46:59 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-03 19:46:59 +0100 |
commit | dd45721babce86d964739fded589447e9db98cbc (patch) | |
tree | bddf8c9f5c4b9e75bd9eeb520eb6723f612813b3 /lib | |
parent | 4976ba598a0d80e117cf8ca9fbfbbd96b1a89645 (diff) | |
download | wallet-core-dd45721babce86d964739fded589447e9db98cbc.tar.xz |
include pay_deadline in payment request
Diffstat (limited to 'lib')
-rw-r--r-- | lib/wallet/wallet.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wallet/wallet.ts b/lib/wallet/wallet.ts index d4c95a6f0..f0aeb6800 100644 --- a/lib/wallet/wallet.ts +++ b/lib/wallet/wallet.ts @@ -146,6 +146,7 @@ interface PayReq { refund_deadline: string; timestamp: string; transaction_id: number; + pay_deadline: string; } interface Transaction { @@ -586,6 +587,7 @@ export class Wallet { merchant_sig: offer.merchant_sig, exchange: URI(chosenExchange).href(), refund_deadline: offer.contract.refund_deadline, + pay_deadline: offer.contract.pay_deadline, timestamp: offer.contract.timestamp, transaction_id: offer.contract.transaction_id, }; |