This commit is contained in:
Overtorment
2018-12-03 14:06:12 +00:00
parent f05bdb3365
commit 748b5fd733
2 changed files with 3 additions and 0 deletions

View File

@@ -203,6 +203,7 @@ router.get('/gettxs', async function(req, res) {
return errorBadAuth(res);
}
await u.accountForPosibleTxids();
let txs = await u.getTxs();
res.send(txs);
});
@@ -213,6 +214,7 @@ router.get('/getpending', async function(req, res) {
return errorBadAuth(res);
}
await u.accountForPosibleTxids();
let txs = await u.getPendingTxs();
res.send(txs);
});