Skip to content

Commit

Permalink
put position in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
AloeareV committed Oct 6, 2023
1 parent ac22c2c commit d705560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zingolib/src/wallet/keys/extended_transparent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ impl ExtendedPrivKey {
KeyIndex::hardened_from_normalize_index(config.get_coin_type()).unwrap(),
)
.unwrap()
.derive_private_key(KeyIndex::hardened_from_normalize_index(0).unwrap())
.derive_private_key(KeyIndex::hardened_from_normalize_index(position).unwrap())
.unwrap()
.derive_private_key(KeyIndex::Normal(position))
.derive_private_key(KeyIndex::Normal(0))
.unwrap()
}

Expand Down

0 comments on commit d705560

Please sign in to comment.