Skip to content

Commit

Permalink
Migrate to zcash_spec 0.2.1 and zip32 0.2.0.
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Grigg <[email protected]>
Signed-off-by: Daira-Emma Hopwood <[email protected]>
  • Loading branch information
str4d authored and daira committed Feb 20, 2025
1 parent b1c22c0 commit 8ce6d88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ sinsemilla = "0.1"
subtle = { version = "2.3", default-features = false }
zcash_note_encryption = "0.4"
incrementalmerkletree = "0.8.1"
zcash_spec = "0.1"
zip32 = { version = "0.1.3", default-features = false }
zcash_spec = "0.2.1"
zip32 = { version = "0.2.0", default-features = false }
visibility = "0.1.1"

# Circuit
Expand Down
2 changes: 2 additions & 0 deletions src/zip32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ impl ExtendedSpendingKey {
self.chain_code.as_bytes(),
self.sk.to_bytes(),
&index.index().to_le_bytes(),
&[0],
&[],
);

// I_L is used as the child spending key sk_i.
Expand Down

0 comments on commit 8ce6d88

Please sign in to comment.