Update FLO_torrentUploader.html

This commit is contained in:
Sai Raj 2019-05-21 13:40:20 +05:30 committed by GitHub
parent 368a490d33
commit e6b610c6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -360,6 +360,7 @@ function sendDataToBlockchain(floID,name,filename,type,description,tags,filesize
}
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}});
console.log(header);
if(header.length>=1048){
reject(`Header is too big! Reduce Headers and Try again!\nRemaining chunks : 0\nLast successful Txid : ${lastTx}`);
}