fixed tutorial needed for final assignment
This commit is contained in:
parent
2fc18580b5
commit
b5520ec9cc
@ -35,6 +35,10 @@ class TxBlock (CBlock):
|
||||
if not tx.is_valid():
|
||||
return False
|
||||
|
||||
if self.nonce != "A random nonce":
|
||||
if not self.good_nonce():
|
||||
return False
|
||||
|
||||
total_in, total_out = self.__count_totals()
|
||||
|
||||
Tx_Balance = round(total_out - total_in, 10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user