Fix onlyopret

This commit is contained in:
jl777
2019-03-21 23:08:50 -11:00
parent 60ed1e25e3
commit 7650a93d25

View File

@@ -337,7 +337,7 @@ UniValue PaymentsRelease(struct CCcontract_info *cp,char *jsonstr)
checkallocations += allocation;
if ( opret.size() > 0 )
{
scriptPubKey.resize(opret.size());
onlyopret.resize(opret.size());
memcpy(&onlyopret[0],&opret[0],opret.size());
numoprets++;
}