X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=backends%2Fabe%2F__init__.py;h=13cd73d989bf00d1fa6f6628943d2207db7bbd20;hp=882c7931b4eab5dc7a41a854152e59dbb00add12;hb=bfba96e76cc02dac0c401d36153d4fd73ddcf9f3;hpb=9c5e46a690739443e131b0cf69a15c5eec46b50f diff --git a/backends/abe/__init__.py b/backends/abe/__init__.py index 882c793..13cd73d 100644 --- a/backends/abe/__init__.py +++ b/backends/abe/__init__.py @@ -502,7 +502,7 @@ class AbeStore(Datastore_class): def send_tx(self,tx): - postdata = dumps({"method": 'importtransaction', 'params': [tx], 'id':'jsonrpc'}) + postdata = dumps({"method": 'sendrawtransaction', 'params': [tx], 'id':'jsonrpc'}) respdata = urllib.urlopen(self.bitcoind_url, postdata).read() r = loads(respdata) if r['error'] != None: