diff --git a/lib/wallet.py b/lib/wallet.py index 0fab120d..88a83ede 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -772,7 +772,7 @@ class Abstract_Wallet(PrintError): try: self.txi.pop(tx_hash) self.txo.pop(tx_hash) - except KeyErrror: + except KeyError: self.print_error("tx was not in history", tx_hash) def receive_tx_callback(self, tx_hash, tx, tx_height):