refactor wallet config to use identifiers instead of the redundant account_id field

This commit is contained in:
Sergio Chouhy
2026-04-27 23:12:30 -03:00
parent f0b89f8acb
commit f512a3bf0f
5 changed files with 15 additions and 13 deletions
-2
View File
@@ -139,9 +139,7 @@ impl InitialData {
})
})
.chain(self.private_accounts.iter().map(|(key_chain, account)| {
let account_id = AccountId::from((&key_chain.nullifier_public_key, 0));
InitialAccountData::Private(Box::new(PrivateAccountPrivateInitialData {
account_id,
account: account.clone(),
key_chain: key_chain.clone(),
identifier: 0,