Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Jul 24, 2024
1 parent 9378393 commit 200b7dd
Show file tree
Hide file tree
Showing 42 changed files with 592 additions and 254 deletions.
8 changes: 6 additions & 2 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ members = [
"applications/minotari_merge_mining_proxy",
"applications/minotari_miner",
"applications/minotari_ledger_wallet/comms",
# "applications/minotari_ledger_wallet/common",
"integration_tests",
"hashing",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ pub async fn command_runner(

let mut script_signature = Signature::default();
match key_manager_service
.sign_with_challenge_and_message(
.sign_with_nonce_and_challenge(
&party_info.wallet_spend_key_id,
&party_info.script_nonce_key_id,
&challenge,
Expand Down Expand Up @@ -1007,7 +1007,7 @@ pub async fn command_runner(

let mut metadata_signature = Signature::default();
match key_manager_service
.sign_with_challenge_and_message(
.sign_with_nonce_and_challenge(
&party_info.sender_offset_key_id,
&party_info.sender_offset_nonce_key_id,
&challenge,
Expand Down
4 changes: 2 additions & 2 deletions applications/minotari_console_wallet/src/init/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use std::{fs, io, path::PathBuf, str::FromStr, sync::Arc, time::Instant};
use log::*;
use minotari_app_utilities::{consts, identity_management::setup_node_identity};
#[cfg(feature = "ledger")]
use minotari_ledger_wallet_comms::accessor_methods::{ledger_get_public_alpha, ledger_get_view_key};
use minotari_ledger_wallet_comms::accessor_methods::{ledger_get_public_spend_key, ledger_get_view_key};
use minotari_wallet::{
error::{WalletError, WalletStorageError},
output_manager_service::storage::database::OutputManagerDatabase,
Expand Down Expand Up @@ -827,7 +827,7 @@ pub fn prompt_wallet_type(
if prompt(connected_hardware_msg) {
print!("Scanning for connected Ledger hardware device... ");
let account = prompt_ledger_account(boot_mode).expect("An account value");
match ledger_get_public_alpha(account) {
match ledger_get_public_spend_key(account) {
Ok(public_alpha) => match ledger_get_view_key(account) {
Ok(view_key) => {
let ledger = LedgerWallet::new(
Expand Down
8 changes: 8 additions & 0 deletions applications/minotari_ledger_wallet/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "minotari_ledger_wallet_common"
version = "1.0.0-pre.16"
authors = ["The Tari Development Community"]
license = "BSD-3-Clause"
edition = "2021"

[dependencies]
Loading

0 comments on commit 200b7dd

Please sign in to comment.