Bugfix: blkmk_get_mdata must fail if we cannot append the coinbase
This commit is contained in:
parent
847b04d030
commit
4a01674cd0
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user