tadd missing parameter - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4cfb6e1d7609ce0dee0b1f73517642bb56ba5c30 DIR parent 49797c309438c56be8f1e02bc0036b04b9450e21 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 3 Sep 2015 07:43:16 +0200 add missing parameter Diffstat: M lib/plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/plugins.py b/lib/plugins.py t@@ -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) t@@ -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)