From 50eed828021365f86d346953ea017587f452aa9e Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Sat, 29 Jun 2024 02:38:07 -0600 Subject: [PATCH] fix: `LedgerStarknetApp` method privacy (#622) --- starknet-signers/src/ledger.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/starknet-signers/src/ledger.rs b/starknet-signers/src/ledger.rs index 5bffac18..beca1775 100644 --- a/starknet-signers/src/ledger.rs +++ b/starknet-signers/src/ledger.rs @@ -143,7 +143,7 @@ impl LedgerStarknetApp { /// - `1470455285'`, decimal for `0x57a55df5`, is the 31 lowest bits for `sha256(starkli)` /// /// Currently, the Ledger app only enforces the length and the first level of the path. - async fn get_public_key( + pub async fn get_public_key( &self, derivation_path: DerivationPath, display: bool, @@ -190,7 +190,7 @@ impl LedgerStarknetApp { /// - `1470455285'`, decimal for `0x57a55df5`, is the 31 lowest bits for `sha256(starkli)` /// /// Currently, the Ledger app only enforces the length and the first level of the path. - async fn sign_hash( + pub async fn sign_hash( &self, derivation_path: DerivationPath, hash: &Felt,