From bfba96e76cc02dac0c401d36153d4fd73ddcf9f3 Mon Sep 17 00:00:00 2001 From: slush0 Date: Sat, 20 Oct 2012 12:10:39 +0000 Subject: [PATCH] Bugfix: importtransaction -> sendrawtransaction --- backends/abe/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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: -- 1.7.1