Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 35 additions & 19 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 node-gui/backend/src/backend_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ impl Backend {
false,
ScanBlockchain::ScanNoWait,
hardware_wallet,
None,
)
.await
.map_err(|err| BackendError::WalletError(err.to_string()))?;
Expand Down
16 changes: 15 additions & 1 deletion node-gui/src/main_window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,20 @@ impl MainWindow {
backend_sender,
)
.map(MainWindowMessage::MainWidgetMessage),
ConsoleCommand::ChoiceMenu(menu) => self
.main_widget
.update(
MainWidgetMessage::TabsMessage(TabsMessage::WalletMessage(
wallet_id,
WalletMessage::ConsoleOutput(format!(
"{}\n{}",
menu.header(),
menu.choice_list().join("\n")
)),
)),
backend_sender,
)
.map(MainWindowMessage::MainWidgetMessage),
ConsoleCommand::ClearScreen
| ConsoleCommand::ClearHistory
| ConsoleCommand::PrintHistory
Expand Down Expand Up @@ -718,7 +732,7 @@ impl MainWindow {
}
}
#[cfg(feature = "trezor")]
WalletArgs::Trezor => WalletTypeArgs::Trezor,
WalletArgs::Trezor => WalletTypeArgs::Trezor { device_id: None },
};

self.file_dialog_active = true;
Expand Down
2 changes: 1 addition & 1 deletion wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ utils-networking = { path = "../utils/networking" }
utxo = { path = "../utxo" }
wallet-storage = { path = "./storage" }
wallet-types = { path = "./types" }
trezor-client = { git = "https://github.com/mintlayer/mintlayer-trezor-firmware", branch = "feature/mintlayer-pk", features = ["bitcoin", "mintlayer"], optional = true }
trezor-client = { git = "https://github.com/mintlayer/mintlayer-trezor-firmware", branch = "mintlayer-master", features = ["bitcoin", "mintlayer"], optional = true }

bip39 = { workspace = true, default-features = false, features = ["std", "zeroize"] }
hex.workspace = true
Expand Down
5 changes: 4 additions & 1 deletion wallet/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#[cfg(test)]
mod signer_test_helpers;

use std::sync::Arc;

use common::{
Expand Down Expand Up @@ -152,5 +155,5 @@ pub trait SignerProvider {
id: &AccountId,
) -> WalletResult<Account<Self::K>>;

fn get_hardware_wallet_data(&mut self) -> Option<HardwareWalletData>;
fn get_hardware_wallet_data(&self) -> Option<HardwareWalletData>;
}
Loading