Merge pull request #616 from mtl1979/talleo-fix

[Talleo] Discard block templates with 0 transactions starting from height 10000.
This commit is contained in:
dvandal
2020-12-13 19:30:21 -05:00
committed by GitHub

View File

@@ -73,6 +73,10 @@ function runInterval () {
callback(null)
return
}
if (config.coin == 'talleo' && res.result.height >= 10000 && res.result.num_transactions == 0) {
callback(null)
return
}
process.send({
type: 'BlockTemplate',
block: res.result