Skip to content

refactor: rename DerivedAddress to AddressTableRow in wasm-module#208

Open
dannywillems wants to merge 4 commits intodevelopfrom
refactor/194-rename-derived-address
Open

refactor: rename DerivedAddress to AddressTableRow in wasm-module#208
dannywillems wants to merge 4 commits intodevelopfrom
refactor/194-rename-derived-address

Conversation

@dannywillems
Copy link
Copy Markdown
Collaborator

Summary

Rename the private DerivedAddress struct to AddressTableRow in wasm-module to avoid confusion with the DerivedAddress type in core.

The two structs serve different purposes:

  • core::DerivedAddress - for storage (wallet_id, address_index, address)
  • wasm-module::AddressTableRow - for UI rendering (index, transparent, unified, is_saved)

Test plan

  • Code compiles successfully
  • WASM module builds correctly
  • No functional changes - just a rename of private struct

Closes #194

Rename the private DerivedAddress struct to AddressTableRow to avoid
confusion with the DerivedAddress type in core (which serves a different
purpose - storage vs UI rendering).

Closes #194
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.

refactor: move DerivedAddress struct to core crate

1 participant