jl777 7 years ago
parent
commit
8d5561a3ce
  1. 2
      iguana/exchanges/LP_transaction.c

2
iguana/exchanges/LP_transaction.c

@ -1361,7 +1361,7 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
script[len++] = ((spendlen >> 8) & 0xff); script[len++] = ((spendlen >> 8) & 0xff);
} }
decode_hex(&script[len],spendlen,opretstr); decode_hex(&script[len],spendlen,opretstr);
txobj = bitcoin_txoutput(txobj,script,len + scriptlen,change); txobj = bitcoin_txoutput(txobj,script,len + spendlen,0);
printf("OP_RETURN.[%d, %d] script.(%s)\n",len,spendlen,opretstr); printf("OP_RETURN.[%d, %d] script.(%s)\n",len,spendlen,opretstr);
} }
else else

Loading…
Cancel
Save