provides file list_filtered api #43

Merged
jessopb merged 2 commits from redlist into master 2019-07-17 05:11:13 +02:00
jessopb commented 2019-07-10 15:46:06 +02:00 (Migrated from github.com)
No description provided.
neb-b (Migrated from github.com) requested changes 2019-07-10 17:02:00 +02:00
neb-b (Migrated from github.com) left a comment

A couple of comments for things that can removed

A couple of comments for things that can removed
neb-b (Migrated from github.com) commented 2019-07-10 17:00:42 +02:00

instead of creating a new array and pushing to it, you can just use map

const formattedOutpoints = outpoints.map(outpoint => {
          const [txid, nout] = outpoint.split(':');

        return { txid, nout: Number.parseInt(nout, 10) };
})
instead of creating a new array and pushing to it, you can just use map ``` const formattedOutpoints = outpoints.map(outpoint => { const [txid, nout] = outpoint.split(':'); return { txid, nout: Number.parseInt(nout, 10) }; }) ```
neb-b (Migrated from github.com) commented 2019-07-10 16:57:27 +02:00

We shouldn't need this value. It is successful when filteredOutpoints is not undefined

We shouldn't need this value. It is successful when `filteredOutpoints` is not `undefined`
neb-b (Migrated from github.com) commented 2019-07-10 16:58:24 +02:00

This can just be loading

This can just be `loading`
neb-b (Migrated from github.com) approved these changes 2019-07-12 17:12:26 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbryinc#43
No description provided.