Merge pull request #813 from lbryio/abandon-fix
Claim page abandon(regression) fixed
This commit is contained in:
commit
2943860b5f
2 changed files with 3 additions and 2 deletions
|
@ -21,6 +21,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
||||||
* Fixed scriolling restore/reset/set (#729)
|
* Fixed scriolling restore/reset/set (#729)
|
||||||
* Fixed sorting by title for published files (#614)
|
* Fixed sorting by title for published files (#614)
|
||||||
* App now uses the new balance_delta field in the txn list.
|
* App now uses the new balance_delta field in the txn list.
|
||||||
|
* Abandoning from the claim page now works.
|
||||||
*
|
*
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
@ -102,8 +102,8 @@ export function doDeleteFile(outpoint, deleteFromComputer, abandonClaim) {
|
||||||
const fileInfo = byOutpoint[outpoint];
|
const fileInfo = byOutpoint[outpoint];
|
||||||
|
|
||||||
if (fileInfo) {
|
if (fileInfo) {
|
||||||
txid = fileInfo.outpoint.slice(0, -2);
|
const txid = fileInfo.outpoint.slice(0, -2);
|
||||||
nout = fileInfo.outpoint.slice(-1);
|
const nout = fileInfo.outpoint.slice(-1);
|
||||||
|
|
||||||
dispatch(doAbandonClaim(txid, nout));
|
dispatch(doAbandonClaim(txid, nout));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue