From 577646288acff3c3489b52af39d1dcd75c00535e Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 31 Jan 2024 04:02:57 +0800 Subject: [PATCH] fix bip39 api changes --- services/gam/src/bip39.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/gam/src/bip39.rs b/services/gam/src/bip39.rs index 4e8e6e44a..b8c55d008 100644 --- a/services/gam/src/bip39.rs +++ b/services/gam/src/bip39.rs @@ -11,9 +11,8 @@ /// the code to refer to the table without change, all we do is swap out /// which language module is included in the two lines below. pub mod en; -use digest::Digest; pub use en::*; -use sha2::*; +use sha2::Digest; #[derive(Debug, Eq, PartialEq)] pub enum Bip39Error {