Hexstr
This commit is contained in:
@@ -201,7 +201,7 @@ int32_t NSPV_sendrawtransaction(struct NSPV_broadcastresp *ptr,uint8_t *data,int
|
|||||||
ptr->retcode = 0;
|
ptr->retcode = 0;
|
||||||
rawdata.resize(n);
|
rawdata.resize(n);
|
||||||
memcpy(&rawdata[0],data,n);
|
memcpy(&rawdata[0],data,n);
|
||||||
if ( DecodeHexTx(tx,rawdata.ToString()) != 0 )
|
if ( DecodeHexTx(tx,HexStr(rawdata)) != 0 )
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
ptr->txid = tx.GetHash();
|
ptr->txid = tx.GetHash();
|
||||||
|
|||||||
Reference in New Issue
Block a user