Skip to content

Commit

Permalink
Merge pull request #456 from zcash/bump-zcash_spec
Browse files Browse the repository at this point in the history
Migrate to `zcash_spec 0.2.1` and `zip32 0.2.0`
  • Loading branch information
nuttycom authored Feb 20, 2025
2 parents b1c22c0 + a47066b commit 0ec587c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ and this project adheres to Rust's notion of

### Changed
- MSRV is now 1.70
- Migrated to `nonempty 0.11`, `incrementalmerkletree 0.8`, `shardtree 0.6`, `zip32 0.1.3`.
- Migrated to `nonempty 0.11`, `incrementalmerkletree 0.8`, `shardtree 0.6`,
`zcash_spec 0.2`, `zip32 0.2`

## [0.10.1] - 2024-12-16

Expand Down
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 0ec587c

Please sign in to comment.