commit a1c02e2c45307e0f1500593ef4937a772215e7c9
parent 85bce256e7a3cd820fc5cb9b290d5cbbcb562fbc
Author: BenoƮt Verret <verret.benoit@gmail.com>
Date: Tue, 24 Nov 2020 15:24:44 -0500
Fix daemon being treated as a function (#6771)
daemon was improperly turned into a function in the Python console.
Point daemon to window.gui_object.daemon instead.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
@@ -2143,7 +2143,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
self.password_dialog,
**{**kwargs, 'wallet': self.wallet})
for m in dir(c):
- if m[0]=='_' or m in ['network','wallet','config']: continue
+ if m[0]=='_' or m in ['network','wallet','config','daemon']: continue
methods[m] = mkfunc(c._run, m)
console.updateNamespace(methods)