From 6a46ccc565e22926de5a828891aea5a838ffab78 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Fri, 10 Mar 2017 15:29:52 -0500 Subject: [PATCH] Change nOut to nout Needed for compatibility with this lbrynet change: https://github.com/lbryio/lbry/pull/513 --- ui/js/page/file-list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/js/page/file-list.js b/ui/js/page/file-list.js index 085449303..734cb75eb 100644 --- a/ui/js/page/file-list.js +++ b/ui/js/page/file-list.js @@ -24,7 +24,7 @@ export let FileListDownloaded = React.createClass({ lbry.file_list().then((fileInfos) => { if (!this._isMounted) { return; } - const myClaimOutpoints = myClaimInfos.map(({txid, nOut}) => txid + ':' + nOut); + const myClaimOutpoints = myClaimInfos.map(({txid, nout}) => txid + ':' + nout); this.setState({ fileInfos: fileInfos.filter(({outpoint}) => !myClaimOutpoints.includes(outpoint)), }); @@ -72,7 +72,7 @@ export let FileListPublished = React.createClass({ lbry.file_list().then((fileInfos) => { if (!this._isMounted) { return; } - const myClaimOutpoints = claimInfos.map(({txid, nOut}) => txid + ':' + nOut); + const myClaimOutpoints = claimInfos.map(({txid, nout}) => txid + ':' + nout); this.setState({ fileInfos: fileInfos.filter(({outpoint}) => myClaimOutpoints.includes(outpoint)), });