From 399e20acc741b4ae40def80afa3d30fd74839829 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 22 Oct 2018 14:01:34 +0100 Subject: [PATCH] Fix copypaste fail in modules/coins.py.move_coins --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index 00c3974c..b3f44002 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -437,7 +437,7 @@ class Module(ModuleManager.BaseModule): """ wallet_1 = event["args_split"][0] wallet_2 = event["args_split"][1] - amount = self._parse_coins(send_amount, DECIMAL_ZERO) + amount = self._parse_coins(event["args_split"][2], DECIMAL_ZERO) for wallet in [wallet_1, wallet_2]: if not self._user_has_wallet(event["user"], wallet): raise utils.EventError("%s: Unknown wallet '%s'" %