This commit is contained in:
jl777
2019-07-10 21:29:51 -11:00
parent 312ad7dc24
commit 1983e70368

View File

@@ -328,7 +328,7 @@ UniValue NSPV_spend(char *srcaddr,char *destaddr,int64_t satoshis) // what its a
{
data.resize(20);
memcpy(&data[0],&rmd160[1],20);
scriptPubKey = CScript() << OP_DUP << OP_HASH160 << ParseHex(HexStr(data)) << OP_EQUALVERIFY << OP_CHECKSIG);
scriptPubKey = (CScript() << OP_DUP << OP_HASH160 << ParseHex(HexStr(data)) << OP_EQUALVERIFY << OP_CHECKSIG);
}
if ( NSPV_inforesult.height == 0 )
{