Bugfix: blkmk_get_mdata must fail if we cannot append the coinbase

This commit is contained in:
Luke Dashjr 2016-08-11 03:51:07 +00:00
parent 847b04d030
commit 4a01674cd0

View File

@ -339,6 +339,7 @@ bool blkmk_get_mdata(blktemplate_t * const tmpl, void * const buf, const size_t
&& tmpl->cbtxn
&& blkmk_build_merkle_branches(tmpl)
&& bufsz >= 76
&& (tmpl->mutations & (BMM_CBAPPEND | BMM_CBSET))
))
return false;