update to daemon v0.16.0 proper, fix bug on new publishes

This commit is contained in:
Jeremy Kauffman 2017-09-18 17:42:11 -04:00
parent 3e4aea3a15
commit 4866fa8b84
2 changed files with 15 additions and 13 deletions

View file

@ -20,7 +20,7 @@
"electron-rebuild": "^1.5.11" "electron-rebuild": "^1.5.11"
}, },
"lbrySettings": { "lbrySettings": {
"lbrynetDaemonVersion": "0.16.0rc9", "lbrynetDaemonVersion": "0.16.0",
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip" "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip"
}, },
"license": "MIT" "license": "MIT"

View file

@ -50,7 +50,9 @@ reducers[types.FETCH_CLAIM_LIST_MINE_COMPLETED] = function(state, action) {
.filter(claimId => Object.keys(abandoningById).indexOf(claimId) === -1) .filter(claimId => Object.keys(abandoningById).indexOf(claimId) === -1)
); );
claims.filter(claim => claim.category.match(/claim/)).forEach(claim => { claims
.filter(claim => claim.category && claim.category.match(/claim/))
.forEach(claim => {
byId[claim.claim_id] = claim; byId[claim.claim_id] = claim;
const pending = Object.values(pendingById).find(pendingClaim => { const pending = Object.values(pendingById).find(pendingClaim => {