MultiChain / multichain-explorer

Web-based explorer for MultiChain blockchains
GNU Affero General Public License v3.0
177 stars 140 forks source link

Genesis block hash #2

Closed reiven closed 8 years ago

reiven commented 8 years ago

Hi

I'm trying to setup an explorer, but if i add the "genesis block hash" into "import-tx" param, the server do not start

 File "Abe/DataStore.py", line 3991, in new
    return DataStore(args)
  File "Abe/DataStore.py", line 214, in __init__
    store.maybe_import_binary_tx(chain_name, str(hex_tx).decode('hex'))
  File "Abe/DataStore.py", line 2167, in maybe_import_binary_tx
    chain = store.get_default_chain()
  File "Abe/DataStore.py", line 529, in get_default_chain
    return Chain.create(store.default_chain)
AttributeError: 'DataStore' object has no attribute 'default_chain'
bitcartel commented 8 years ago

You don't need to set the import-tx parameter. Just leave it commented out.

reiven commented 8 years ago

Thanks, it worked