Error when Issue certificate "UnboundLocalError"

Hello,

When i try to issue a certificate with “cert-issuer -c /etc/cert-issuer/conf.ini” i get the following error

WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure
INFO - This run will try to issue on the bitcoin_regtest chain
Traceback (most recent call last):
File “/usr/bin/cert-issuer”, line 11, in
load_entry_point(‘cert-issuer==2.0.14’, ‘console_scripts’, ‘cert-issuer’)()
File “/usr/lib/python3.6/site-packages/cert_issuer/main.py”, line 17, in cert_issuer_main
issue_certificates.main(parsed_config)
File “/usr/lib/python3.6/site-packages/cert_issuer/issue_certificates.py”, line 35, in main
certificate_batch_handler, transaction_handler, connector = bitcoin.instantiate_blockchain_handlers(app_config)
File “/usr/lib/python3.6/site-packages/cert_issuer/blockchain_handlers/bitcoin/init.py”, line 66, in instantiate_blockchain_handlers
transaction_handler = BitcoinTransactionHandler(connector, cost_constants, secret_manager,
UnboundLocalError: local variable ‘cost_constants’ referenced before assignment

Hello @Taibah

I ran into this problem myself, should be fixed as part of 2.0.15 (released just moments ago). Let us know if you’re having any problems with that after pulling down the latest code.

Anthony

Thanks its working now after i pulled the last version.