Bump hwi to 0.4.0

This commit is contained in:
Daniela Brozzoni
2022-12-19 10:50:59 +01:00
parent 634a0575cb
commit 4cad18bbca
4 changed files with 26 additions and 18 deletions

View File

@@ -24,9 +24,12 @@
//! # use std::sync::Arc;
//! #
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let devices = HWIClient::enumerate()?;
//! let first_device = devices.first().expect("No devices found!");
//! let custom_signer = HWISigner::from_device(first_device, HWIChain::Test)?;
//! let mut devices = HWIClient::enumerate()?;
//! if devices.is_empty() {
//! panic!("No devices found!");
//! }
//! let first_device = devices.remove(0)?;
//! let custom_signer = HWISigner::from_device(&first_device, HWIChain::Test)?;
//!
//! # let mut wallet = Wallet::new(
//! # "",