From d4aef86f7e99ad095db3976d3329b1d7a583dafe Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 21 Oct 2018 12:16:05 +0100 Subject: [PATCH] _default_wallet_for is for find the default type of a given wallet, not the wallet for a given default type --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))