Skip to content

Commit

Permalink
Fix poolgold#5 Incorrect inputs' transaction hashes handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dcit-lnovy committed Mar 24, 2018
1 parent e02fa93 commit cf42ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/coinbin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ $(document).ready(function() {
for(var i=0; i<data.length; i++) {
// for(var i in data.data.txs){
var o = data[i];
var tx = o.txid;
var tx = ((""+o.txid).match(/.{1,2}/g).reverse()).join("")+'';
if(tx.match(/^[a-f0-9]+$/)){
var n = o.vout;
var script = (redeem.isMultisig==true) ? $("#redeemFrom").val() : o.scriptPubKey;
Expand Down

0 comments on commit cf42ae0

Please sign in to comment.