Skip to content

Commit

Permalink
Merge pull request #141 from LedgerHQ/jca/fix_chaincode_type
Browse files Browse the repository at this point in the history
Some little fixes
  • Loading branch information
yogh333 authored Mar 4, 2024
2 parents 1323307 + f75ff75 commit 610a73b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ledger_device_sdk"
version = "1.7.0"
version = "1.7.1"
authors = ["yhql", "yogh333"]
edition = "2021"
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion ledger_device_sdk/src/ecc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl<const N: usize> Drop for Secret<N> {
#[repr(C)]
#[derive(Default)]
pub struct ChainCode {
value: [u8; 32],
pub value: [u8; 32],
}

/// Fill the key buffer `ECPrivateKey<_,_>.key` with bytes
Expand Down
8 changes: 4 additions & 4 deletions ledger_device_sdk/src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ use ledger_secure_sdk_sys::{
CX_INVALID_PARAMETER, CX_LAST, CX_OK,
};

mod blake2;
mod ripemd;
mod sha2;
mod sha3;
pub mod blake2;
pub mod ripemd;
pub mod sha2;
pub mod sha3;

#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum HashError {
Expand Down

0 comments on commit 610a73b

Please sign in to comment.