Fix a bug during transaction validation
Missing method call - caused an exception
This commit is contained in:
@@ -30,7 +30,7 @@ class Transaction:
|
||||
self.sender + \
|
||||
self.receiver + \
|
||||
self.amount.to_bytes(8, "big") + \
|
||||
self.transaction_fee(8, "big")
|
||||
self.transaction_fee.to_bytes(8, "big")
|
||||
try:
|
||||
sender_pubkey.verify(self.signature, msg)
|
||||
except InvalidSignature:
|
||||
|
||||
Reference in New Issue
Block a user