Typecasted nout to number

This commit is contained in:
hackrush 2017-12-11 12:51:18 +05:30
parent c3582c2c09
commit 03678fb4f2

View file

@ -103,7 +103,7 @@ export function doDeleteFile(outpoint, deleteFromComputer, abandonClaim) {
if (fileInfo) {
const txid = fileInfo.outpoint.slice(0, -2);
const nout = fileInfo.outpoint.slice(-1);
const nout = Number(fileInfo.outpoint.slice(-1));
dispatch(doAbandonClaim(txid, nout));
}