tNeed to set p.wallet unfortunately - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 3211d752c72fd2a0f392788bf00dcea75f2d7a6e
 (DIR) parent 47e5bd653a749043ea6af3357247541e460474fd
 (HTM) Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Thu, 19 Nov 2015 08:30:38 +0900
       
       Need to set p.wallet unfortunately
       
       Fixes #1553
       
       Diffstat:
         M lib/plugins.py                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/lib/plugins.py b/lib/plugins.py
       t@@ -162,6 +162,8 @@ def _run_hook(name, always, *args):
            results = []
            f_list = hooks.get(name, [])
            for p, f in f_list:
       +        if name == 'load_wallet':
       +            p.wallet = args[0] # For for p.is_enabled() below
                if always or p.is_enabled():
                    try:
                        r = f(*args)