Skip to content

Commit

Permalink
Migrate to zcash_spec 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Feb 18, 2025
1 parent b1c22c0 commit 9c59e6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ debug = true

[profile.bench]
debug = true

[patch.crates-io]
zcash_spec = { git = "https://github.com/daira/zcash_spec.git", rev = "295ed474426a8c2954a534b0bd72b4f4bf0696d9" }
zip32 = { git = "https://github.com/daira/zip32.git", rev = "fa7805dd7d4c9d37756a0ab1d31f55e97aa57eb4" }
1 change: 1 addition & 0 deletions src/zip32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ impl ExtendedSpendingKey {
self.chain_code.as_bytes(),
self.sk.to_bytes(),
&index.index().to_le_bytes(),
None,
);

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

0 comments on commit 9c59e6c

Please sign in to comment.