Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: trezor support #663

Merged
merged 17 commits into from
Dec 13, 2021
Merged
Prev Previous commit
Next Next commit
remove commented macro
joshieDo committed Dec 10, 2021
commit 8b26c9b624c68fe33a4c6a6eb5d8f4d2e9725af8
2 changes: 0 additions & 2 deletions examples/trezor.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#[tokio::main]
// #[cfg(feature = "trezor")]
#[cfg(feature = "trezor")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
use ethers::{prelude::*, utils::parse_ether};
@@ -26,6 +25,5 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}

// #[cfg(not(feature = "trezor"))]
#[cfg(not(feature = "trezor"))]
fn main() {}