TODO
This commit is contained in:
parent
ed41cde4c2
commit
9047eff8a3
@ -187,6 +187,10 @@ def createBlock(self):
|
|||||||
|
|
||||||
# create block
|
# create block
|
||||||
for i in selected_transactions:
|
for i in selected_transactions:
|
||||||
|
# if not transaction[i].is_valid():
|
||||||
|
# # Return transaction as 'invalid' transaction
|
||||||
|
# # stop mining with the error "Invalid transaction found. transaction removed from pool. Please restart mining a block..."
|
||||||
|
# pass
|
||||||
block.addTx(transactions[i])
|
block.addTx(transactions[i])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user