tget_seed -> check_password - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 43d2fab9a0ccbfd039b30abede43fa8f23a84125
DIR parent 98acf49b4ef193ec2b6b582da646bfc976de389e
HTML Author: ThomasV <thomasv@gitorious>
Date: Mon, 14 Jul 2014 02:57:12 +0200
get_seed -> check_password
Diffstat:
M lib/wallet.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -380,19 +380,15 @@ class Abstract_Wallet(object):
def signrawtransaction(self, tx, private_keys, password):
# check that the password is correct. This will raise if it's not.
- self.get_seed(password)
-
+ self.check_password(password)
# build a list of public/private keys
keypairs = {}
-
# add private keys from parameter
for sec in private_keys:
pubkey = public_key_from_private_key(sec)
keypairs[ pubkey ] = sec
-
# add private_keys
self.add_keypairs(tx, keypairs, password)
-
# sign the transaction
self.sign_transaction(tx, keypairs, password)