From fc141cba289421a8349d2d68b4ffdfccf47d2a57 Mon Sep 17 00:00:00 2001 From: Chris Beaven Date: Mon, 19 Oct 2015 10:42:46 +1300 Subject: [PATCH] Fix KeyErrror typo --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 0fab120da..88a83ede9 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):