tAllow comma separated address lists for from_addr - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d28f6034835dfea922dc30ff4110be40651fb4c4 DIR parent c810c6a3562dd2f9916006437ff1d6a00c24edf3 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 7 Oct 2017 11:54:28 +0200 Allow comma separated address lists for from_addr Diffstat: M lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -435,7 +435,7 @@ class Commands: def payto(self, destination, amount, fee=None, from_addr=None, change_addr=None, nocheck=False, unsigned=False, rbf=False, password=None, locktime=None): """Create a transaction. """ tx_fee = satoshis(fee) - domain = [from_addr] if from_addr else None + domain = from_addr.split(',') if from_addr else None tx = self._mktx([(destination, amount)], tx_fee, change_addr, domain, nocheck, unsigned, rbf, password, locktime) return tx.as_dict() t@@ -443,7 +443,7 @@ class Commands: def paytomany(self, outputs, fee=None, from_addr=None, change_addr=None, nocheck=False, unsigned=False, rbf=False, password=None, locktime=None): """Create a multi-output transaction. """ tx_fee = satoshis(fee) - domain = [from_addr] if from_addr else None + domain = from_addr.split(',') if from_addr else None tx = self._mktx(outputs, tx_fee, change_addr, domain, nocheck, unsigned, rbf, password, locktime) return tx.as_dict()