Removed debug printing
This commit is contained in:
parent
39f4ade40b
commit
7edf015914
|
@ -10,8 +10,9 @@ import types_pb2 as proto_types
|
||||||
class BlockchainApi(object):
|
class BlockchainApi(object):
|
||||||
def _raw_tx(self, txhash):
|
def _raw_tx(self, txhash):
|
||||||
# Download tx data from blockchain.info
|
# Download tx data from blockchain.info
|
||||||
f = urllib2.urlopen('http://blockchain.info/rawtx/%s?scripts=true' % txhash)
|
url = 'http://blockchain.info/rawtx/%s?scripts=true' % txhash
|
||||||
print 'got', txhash
|
print "Downloading", url
|
||||||
|
f = urllib2.urlopen(url)
|
||||||
return json.load(f)
|
return json.load(f)
|
||||||
|
|
||||||
def submit(self, tx):
|
def submit(self, tx):
|
||||||
|
|
Loading…
Reference in New Issue