signSuccess
This commit is contained in:
@@ -521,9 +521,9 @@ int32_t MarmaraSignature(uint8_t *utxosig,CMutableTransaction &mtx)
|
||||
for (i=0; i<siglen; i++)
|
||||
{
|
||||
utxosig[i] = ptr[i];
|
||||
fprintf(stderr,"%02x",ptr[i]);
|
||||
//fprintf(stderr,"%02x",ptr[i]);
|
||||
}
|
||||
fprintf(stderr," got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
|
||||
//fprintf(stderr," got signed rawtx.%s siglen.%d\n",rawtx.c_str(),siglen);
|
||||
return(siglen);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2274,8 +2274,10 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(stderr,"add opreturn and CCFinalizetx\n");
|
||||
siglen = MarmaraSignature(utxosig,txNew);
|
||||
if ( signlen > 0 )
|
||||
signSuccess = true;
|
||||
else signSuccess = false;
|
||||
}
|
||||
if (!signSuccess)
|
||||
fprintf(stderr,"failed to create signature\n");
|
||||
|
||||
Reference in New Issue
Block a user