electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 4cfb6e1d7609ce0dee0b1f73517642bb56ba5c30
parent 49797c309438c56be8f1e02bc0036b04b9450e21
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  3 Sep 2015 07:43:16 +0200

add missing parameter

Diffstat:
Mlib/plugins.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/plugins.py b/lib/plugins.py @@ -46,7 +46,7 @@ class Plugins: continue x = item.get('registers_wallet_type') if x: - self.register_wallet_type(name, x) + self.register_wallet_type(config, name, x) if config.get('use_' + name): self.load_plugin(config, name) @@ -109,7 +109,7 @@ class Plugins: self.load_plugin(config, name) return self.plugins[name] - def register_wallet_type(self, name, x): + def register_wallet_type(self, config, name, x): import wallet x += (lambda: self.wallet_plugin_loader(config, name),) wallet.wallet_types.append(x)