Skip to content

Commit

Permalink
Bump ledger-crypto-helpers with SLIP-10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dfordivam committed Mar 15, 2023
1 parent 22c0f6f commit 53e1cb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crate-hashes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"enum-init 0.1.0 (git+https://github.com/alamgu/enum-init#5706da92215f1a5816d704229f8924d95d954a77)": "0vh10l6glg4fry3z8am9skdlg2xcs0maqz5f24awwd9vl4ac6fv6",
"include_gif 0.1.0 (git+https://github.com/LedgerHQ/sdk_include_gif#699d28c6157518c4493899e2eeaa8af08346e5e7)": "185gra3i4s8cbmdhrxk2fyww0l6zlmyf2l04zbkvl9n9b6hd04pl",
"ledger-crypto-helpers 0.2.0 (git+https://github.com/alamgu/ledger-crypto-helpers#f8475666069588a4eebe987ecfa50aa6c6e60cf0)": "0gc0k1cwwi37vssrx0a3qgqwqm5v98nr58i03iydak5ypd2hp2dp",
"ledger-crypto-helpers 0.2.0 (git+https://github.com/alamgu/ledger-crypto-helpers#23ddc944eb1a1a4a41de1880096c733be884c3d7)": "0rwb0qxir2yjx35a17lb3c62x72v8afh534rzhddcvmrwypv348b",
"ledger-log 0.2.0 (git+https://github.com/alamgu/ledger-log#a417ebe6a426bbc6f92e92272c944b89765c384d)": "1qg502avfqiy30k17xi8gwwnawx5p53v0rcd3c566s4s5ga746jb",
"ledger-parser-combinators 0.1.0 (git+https://github.com/alamgu/ledger-parser-combinators#42e75ab7b8cd900889c553dab7908acd6cd8b9c9)": "0qvyf2xswi0k5fhbm1wln76j4ymd6wp407ywwy66gdp8sc9kybsr",
"ledger-prompts-ui 0.1.0 (git+https://github.com/alamgu/ledger-prompts-ui#87c29519a43b5144058c97eb298a5297b342e0be)": "0vvj15z52gn2gc4dlf1afqri4y95w592yhv7iimjhyv3hda863vv",
Expand Down
2 changes: 1 addition & 1 deletion rust-app/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 rust-app/src/implementation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub const GET_ADDRESS_IMPL: GetAddressImplT = Action(
SubInterp(DefaultInterp),
mkfn(
|path: &ArrayVec<u32, 10>, destination: &mut Option<ArrayVec<u8, 128>>| -> Option<()> {
with_public_keys(path, |key: &_, pkh: &PKH| {
with_public_keys(path, false, |key: &_, pkh: &PKH| {
try_option(|| -> Option<()> {
let rv = destination.insert(ArrayVec::new());

Expand Down Expand Up @@ -131,7 +131,7 @@ pub static SIGN_IMPL: SignImplT = Action(
// And ask the user if this is the key the meant to sign with:
mkmvfn(
|path: ArrayVec<u32, 10>, destination: &mut Option<ArrayVec<u32, 10>>| {
with_public_keys(&path, |_, pkh: &PKH| {
with_public_keys(&path, false, |_, pkh: &PKH| {
try_option(|| -> Option<()> {
scroller("Sign for Address", |w| Ok(write!(w, "{pkh}")?))?;
Some(())
Expand Down

0 comments on commit 53e1cb6

Please sign in to comment.