From 5f8775cd3aa2d66399899e565d6f073d4a7162ba Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 21 Dec 2013 18:29:09 +0100 Subject: [PATCH] fix sendrawtransaction --- lib/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index ae3b80ad..0ba76f99 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -149,8 +149,7 @@ class Commands: def sendrawtransaction(self, raw): tx = Transaction(raw) - r, h = self.wallet.sendtx( tx ) - return h + return self.network.synchronous_get([('blockchain.transaction.broadcast', [str(tx)])])[0] def createmultisig(self, num, pubkeys): assert isinstance(pubkeys, list)