From b8bc4dd0cdf1336247d68201de880504064a2967 Mon Sep 17 00:00:00 2001 From: Overtorment Date: Tue, 25 Dec 2018 17:40:21 +0000 Subject: [PATCH] FIX: user invoice --- class/User.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/class/User.js b/class/User.js index fab2bca..5013235 100644 --- a/class/User.js +++ b/class/User.js @@ -194,6 +194,8 @@ export class User { } invoice.amt = decoded.satoshis; + invoice.expire_time = 3600; + // ^^^default; will keep for now. if we want to un-hardcode it - it should be among tags (`expire_time`) invoice.timestamp = decoded.timestamp; invoice.type = 'user_invoice'; result.push(invoice);