Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--testnet parameter not working to use testnet conf file #112

Open
pedroferreira1 opened this issue Sep 20, 2024 · 0 comments
Open

--testnet parameter not working to use testnet conf file #112

pedroferreira1 opened this issue Sep 20, 2024 · 0 comments

Comments

@pedroferreira1
Copy link
Member

The application is using the hathorlib mainnet configuration file, even starting it with --testnet flag.

❯ python main.py https://node1.testnet.hathor.network/ --testnet
HathorSettings(NETWORK_NAME='mainnet', P2PKH_VERSION_BYTE=b'(', MULTISIG_VERSION_BYTE=b'd', HATHOR_TOKEN_UID=b'\x00', MAX_LENGTH_TOKEN_NAME=30, MAX_LENGTH_TOKEN_SYMBOL=5, HATHOR_TOKEN_NAME='Hathor', HATHOR_TOKEN_SYMBOL='HTR', DECIMAL_PLACES=2, MIN_TX_WEIGHT=14, MIN_TX_WEIGHT_COEFFICIENT=1.6, MIN_TX_WEIGHT_K=100, PUSHTX_MAX_OUTPUT_SCRIPT_SIZE=256, MAX_DATA_SCRIPT_OUTPUTS=25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant