From 620b0825db056c1322e56628d7f8ef945bae999b Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt <holgernahrstaedt@gmx.de> Date: Fri, 12 Mar 2021 23:55:38 +0100 Subject: [PATCH] Fix unit test --- beem/account.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beem/account.py b/beem/account.py index bc8488b2..7606b3ad 100644 --- a/beem/account.py +++ b/beem/account.py @@ -2958,6 +2958,8 @@ class Account(BlockchainObject): amount = self._check_amount(amount, self.blockchain.token_symbol) if to is None and skip_account_check: to = self["name"] # powerup on the same account + elif to is None: + to = self if not skip_account_check: to = Account(to, blockchain_instance=self.blockchain) to_name = extract_account_name(to) -- GitLab