tfix sendrawtransaction - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 5f8775cd3aa2d66399899e565d6f073d4a7162ba
DIR parent e18573dda0b44d6b210610672840041df9fc59d1
HTML Author: ThomasV <thomasv@gitorious>
Date: Sat, 21 Dec 2013 18:29:09 +0100
fix sendrawtransaction
Diffstat:
M lib/commands.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/lib/commands.py b/lib/commands.py
t@@ -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)