This commit is contained in:
jl777
2019-07-06 00:04:44 -11:00
parent 7c0ad48d79
commit 9aef2cddf2

View File

@@ -201,7 +201,7 @@ int32_t NSPV_sendrawtransaction(struct NSPV_broadcastresp *ptr,uint8_t *data,int
ptr->retcode = 0;
rawdata.resize(n);
memcpy(&rawdata[0],data,n);
if ( DecodeHexTx(tx,rawdata.ToString()) != 0 )
if ( DecodeHexTx(tx,HexStr(rawdata)) != 0 )
{
LOCK(cs_main);
ptr->txid = tx.GetHash();