Browse Source

fix type hint in _verify_single_sig

Malte Kraus 8 years ago
parent
commit
709f797647
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/transaction.py

+ 1 - 1
src/transaction.py

@@ -135,7 +135,7 @@ class Transaction:
                 return False
         return True
 
-    def _verify_single_sig(self, sig: str, inp: TransactionInput, chain: 'Blockchain') -> bool:
+    def _verify_single_sig(self, sig: bytes, inp: TransactionInput, chain: 'Blockchain') -> bool:
         """ Verifies the signature on a single input. """
         trans = chain.get_transaction_by_hash(inp.transaction_hash)
         if trans is None: