|
@ -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 |
|
|