Change nOut to nout
Needed for compatibility with this lbrynet change: https://github.com/lbryio/lbry/pull/513
This commit is contained in:
parent
05b8417f5f
commit
6a46ccc565
1 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue