fix account initialization error

This commit is contained in:
Francisco Gindre 2020-03-02 14:58:11 -03:00
parent 2f541d1459
commit e9088ca9a1
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ pub extern "C" fn zcashlc_init_accounts_table(
};
let extsks: Vec<_> = (0..accounts)
.map(|account| spending_key(&seed, 1, account))
.map(|account| spending_key(&seed, COIN_TYPE, account))
.collect();
let extfvks: Vec<_> = extsks.iter().map(ExtendedFullViewingKey::from).collect();