fix sendrawtransaction
This commit is contained in:
@@ -149,8 +149,7 @@ class Commands:
|
|||||||
|
|
||||||
def sendrawtransaction(self, raw):
|
def sendrawtransaction(self, raw):
|
||||||
tx = Transaction(raw)
|
tx = Transaction(raw)
|
||||||
r, h = self.wallet.sendtx( tx )
|
return self.network.synchronous_get([('blockchain.transaction.broadcast', [str(tx)])])[0]
|
||||||
return h
|
|
||||||
|
|
||||||
def createmultisig(self, num, pubkeys):
|
def createmultisig(self, num, pubkeys):
|
||||||
assert isinstance(pubkeys, list)
|
assert isinstance(pubkeys, list)
|
||||||
|
|||||||
Reference in New Issue
Block a user