Skip to content

Commit 50eed82

Browse files
authored
fix: LedgerStarknetApp method privacy (#622)
1 parent 702008d commit 50eed82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

starknet-signers/src/ledger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl LedgerStarknetApp {
143143
/// - `1470455285'`, decimal for `0x57a55df5`, is the 31 lowest bits for `sha256(starkli)`
144144
///
145145
/// Currently, the Ledger app only enforces the length and the first level of the path.
146-
async fn get_public_key(
146+
pub async fn get_public_key(
147147
&self,
148148
derivation_path: DerivationPath,
149149
display: bool,
@@ -190,7 +190,7 @@ impl LedgerStarknetApp {
190190
/// - `1470455285'`, decimal for `0x57a55df5`, is the 31 lowest bits for `sha256(starkli)`
191191
///
192192
/// Currently, the Ledger app only enforces the length and the first level of the path.
193-
async fn sign_hash(
193+
pub async fn sign_hash(
194194
&self,
195195
derivation_path: DerivationPath,
196196
hash: &Felt,

0 commit comments

Comments
 (0)