diff options
| author | 2018-10-21 12:16:05 +0100 | |
|---|---|---|
| committer | 2018-10-21 12:16:05 +0100 | |
| commit | d4aef86f7e99ad095db3976d3329b1d7a583dafe (patch) | |
| tree | c932dfecaa729e856398f33ff8a541bf1a68b561 | |
| parent | Add missing .items() to dict iteration in modules/coins.py (diff) | |
| signature | ||
_default_wallet_for is for find the default type of a given wallet, not the
wallet for a given default type
| -rw-r--r-- | modules/coins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py index 6b405849..d6f43ae3 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -285,7 +285,7 @@ class Module(ModuleManager.BaseModule): event["stdout"].write("%s: Set default wallet for '%s' to '%s'" % (event["user"].nickname, type, wallet)) else: - wallet = self._default_wallet_for(event["user"], type) + wallet = self._default_wallet(event["user"], type) event["stdout"].write("%s: Your default wallet for '%s' is '%s'" % (event["user"].nickname, type, wallet)) |
