From daee02e22d178d88c87c5e9add218d930cfddbd9 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 1 Jul 2015 18:15:35 +0300 Subject: [PATCH] commands: fix typo rename "sec" to "privkey" --- lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 5f6076249..6e544ed4a 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -199,8 +199,8 @@ class Commands: t = Transaction(tx) t.deserialize() if privkey: - pubkey = bitcoin.public_key_from_private_key(sec) - t.sign({pubkey:sec}) + pubkey = bitcoin.public_key_from_private_key(privkey) + t.sign({pubkey:privkey}) else: self.wallet.sign_transaction(t, self.password) return t