fix UI
This commit is contained in:
parent
0001d804a9
commit
38ffc02423
@ -398,6 +398,7 @@ function sendDataToBlockchain(floID,name,filename,type,description,tags,filesize
|
|||||||
overlaytext.innerHTML = "Uploading Header..."
|
overlaytext.innerHTML = "Uploading Header..."
|
||||||
var header = JSON.stringify({FLO_Torrent:{name:name,filename:filename,type:type,size:filesize,description:description,tags:tags,chunks:chunks.length,startTx:lastTx}});
|
var header = JSON.stringify({FLO_Torrent:{name:name,filename:filename,type:type,size:filesize,description:description,tags:tags,chunks:chunks.length,startTx:lastTx}});
|
||||||
console.log(header);
|
console.log(header);
|
||||||
|
await sleep(10);
|
||||||
var headerTxid = sendTransaction(floID,adminID,utxos,chunks.length,header,wif);
|
var headerTxid = sendTransaction(floID,adminID,utxos,chunks.length,header,wif);
|
||||||
if(!headerTxid)
|
if(!headerTxid)
|
||||||
reject(`Error occured while uploading header! Try again!\nRemaining chunks : 0\nLast successful Txid : ${lastTx}`);
|
reject(`Error occured while uploading header! Try again!\nRemaining chunks : 0\nLast successful Txid : ${lastTx}`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user