fix sendrawtransaction
This commit is contained in:
parent
e18573dda0
commit
5f8775cd3a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue