from utils import *
-class AbeStore(Datastore.Datastore):
+class AbeStore(DataStore.DataStore):
def __init__(self, config):
conf = DataStore.CONFIG_DEFAULTS
print_log(' addrtype = 48')
self.addrtype = 48
- Datastore.Datastore.__init__(self, args)
+ DataStore.DataStore.__init__(self, args)
# Use 1 (Bitcoin) if chain_id is not sent
self.chain_id = self.datadirs[0]["chain_id"] or 1
"index": int(pos),
"value": int(value),
})
- known_tx.append(self.hashout_hex(tx_hash))
+ known_tx.append(tx_hash)
# todo: sort them really...
txpoints = sorted(txpoints, key=operator.itemgetter("timestamp"))