Skip to content

fix(cli): use a single default address prefix#925

Open
gummy789j wants to merge 1 commit intorelease_v4.9.5from
fix/default-address-prefix
Open

fix(cli): use a single default address prefix#925
gummy789j wants to merge 1 commit intorelease_v4.9.5from
fix/default-address-prefix

Conversation

@gummy789j
Copy link
Copy Markdown
Collaborator

@gummy789j gummy789j commented Apr 23, 2026

Summary

  • replace the separate mainnet and testnet address prefix constants with a single default TRON address prefix
  • initialize WalletApi with the default prefix instead of switching address validation behavior based on net.type
  • change the default config network to nile while keeping address encoding and validation on the standard prefix

Test plan

  • ./gradlew test

    Keep wallet address validation on the standard TRON prefix instead of switching by net.typ
@gummy789j gummy789j force-pushed the fix/default-address-prefix branch from c01754b to 861a9fe Compare April 23, 2026 06:42
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

Successfully merging this pull request may close these issues.

3 participants