Fix a bug during transaction validation

Missing method call - caused an exception
This commit is contained in:
2024-03-17 18:35:13 +01:00
parent 05881a9450
commit 833a300611

View File

@@ -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: