This commit is contained in:
jl777
2019-01-20 23:35:30 -11:00
parent 84b6f664cb
commit 29f9f25490

View File

@@ -517,10 +517,13 @@ int32_t MarmaraSignature(uint8_t *utxosig,CMutableTransaction &mtx)
if ( rawtx.size() > 0 )
{
siglen = mtx.vin[0].scriptSig.size();
ptr = mtx.vin[0].scriptSig.ptr();
ptr = &(uint8_t *)&mtx.vin[0].scriptSig;
for (i=0; i<siglen; i++)
{
utxosig[i] = ptr[i];
fprintf(stderr,"got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
fprintf(stderr,"%02x",ptr[i]);
}
fprintf(stderr," got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
return(siglen);
}
}