Use default testnet port on testnet when Zcash listener address is not supplied #6386
Labels
A-compatibility
Area: Compatibility with other nodes or wallets, or standard rules
A-network
Area: Network protocol updates or fixes
C-bug
Category: This is a bug
I-usability
Zebra is hard to understand or use
Motivation
I think there might be a bug in the deserializer code:
zebra/zebra-network/src/config.rs
Lines 312 to 324 in f1bedaf
What happens is that if the user configures
Testnet
but no listener address, we get the default mainnet port, as specified in the defaults here.This usability bug only impacts testnet.
Solution
I think the default deserialized listen address needs to be "0.0.0.0", so that we get the correct default port when the address is not configured on testnet.
Originally posted by @teor2345 in #6228 (comment)
The text was updated successfully, but these errors were encountered: