Remove spurios opret in tx builder, don't wait forever for blocks before mining, add delay to getblocktemplate

This commit is contained in:
miketout
2018-10-11 21:35:09 -07:00
parent 271326fafd
commit af2e212d7a
5 changed files with 77 additions and 16 deletions

View File

@@ -85,9 +85,9 @@ bool TransactionBuilder::AddOpRetLast()
if (opReturn)
{
s = opReturn.value();
CTxOut out(0, s);
mtx.vout.push_back(out);
}
CTxOut out(0, s);
mtx.vout.push_back(out);
return true;
}