Change nOut to nout

Needed for compatibility with this lbrynet change:
https://github.com/lbryio/lbry/pull/513
This commit is contained in:
Alex Liebowitz 2017-03-10 15:29:52 -05:00
parent 05b8417f5f
commit 6a46ccc565

View file

@ -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)),
});