diff --git a/lib/commands.py b/lib/commands.py index f5a3ae27..ea65d65b 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -233,7 +233,7 @@ class Commands: def broadcast(self, tx, timeout=10): """Broadcast a transaction to the network. """ t = Transaction(tx) - return self.network.broadcast(str(t), timeout) + return self.network.broadcast(t, timeout) @command('') def createmultisig(self, num, pubkeys):