mirror of
https://github.com/ok2/coinbin.git
synced 2026-05-09 18:15:23 +02:00
bug fix, changes to make double spending work on the transaction page from a transction id
This commit is contained in:
+1
-3
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user