bug fix, changes to make double spending work on the transaction page from a transction id

This commit is contained in:
OutCast3k
2020-07-31 15:17:30 +00:00
parent b4fd55aebe
commit c868cf984e
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -1076,9 +1076,7 @@ $(document).ready(function() {
var n = $(o).find("output_no").text();
var amount = (($(o).find("value").text()*1)).toFixed(8);
var script = coinjs.script();
var s = script.spendToScript($(o).find("address").text());
var scr = Crypto.util.bytesToHex(s.buffer);
var scr = $(o).find("script").text();
addOutput(tx, n, scr, amount);