zcash-swift-wallet-sdk icon indicating copy to clipboard operation
zcash-swift-wallet-sdk copied to clipboard

Remove account field from `UnifiedFullViewingKey`

Open nuttycom opened this issue 2 years ago • 0 comments

Why is the UFVK carrying around its account ID? This might be okay, but it will cause problems if we want a wallet to be able to use UFVKs that do not correspond to the wallet's accounts; this will make it harder to implement the feature that I want where a wallet can import a UFVK to obtain watch-only functionality for a cold wallet. If this could be handled separately it would be good to make that breaking change to the API now, while we're making other breaking API changes.

Originally posted by @nuttycom in https://github.com/zcash/ZcashLightClientKit/pull/491#discussion_r963742711

nuttycom avatar Sep 06 '22 22:09 nuttycom