git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9c5e46a
)
Bugfix: importtransaction -> sendrawtransaction
author
slush0
<info@bitcoin.cz>
Sat, 20 Oct 2012 12:10:39 +0000 (12:10 +0000)
committer
slush0
<info@bitcoin.cz>
Sat, 20 Oct 2012 12:10:39 +0000 (12:10 +0000)
backends/abe/__init__.py
patch
|
blob
|
history
diff --git
a/backends/abe/__init__.py
b/backends/abe/__init__.py
index
882c793
..
13cd73d
100644
(file)
--- 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: