Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(wallet): tidy wallet imports

Steven Enamakel2e59297bf463
diff --git a/crates/openhuman-core/src/modules/wallet.rs b/crates/openhuman-core/src/modules/wallet.rs
index 20813ebedc..c57b0b669c 100644
--- a/crates/openhuman-core/src/modules/wallet.rs
+++ b/crates/openhuman-core/src/modules/wallet.rs
@@ -74,7 +74,6 @@ use tinywallet_bus::wire::{
ExportedKey, GenerateMnemonicRequest, GenerateMnemonicResponse, Scheme, SecretMaterial,
SignMessageRequest, SignRequest, Signature, SignedTransaction, TransactionSpec,
};
-use tinywallet_bus::Chain;
use zeroize::Zeroize;
use super::{host, ops, registry};
diff --git a/crates/openhuman-core/src/web3/wallet/ops.rs b/crates/openhuman-core/src/web3/wallet/ops.rs
index 10c0198d12..dfa5ab0444 100644
--- a/crates/openhuman-core/src/web3/wallet/ops.rs
+++ b/crates/openhuman-core/src/web3/wallet/ops.rs
@@ -10,8 +10,9 @@ mod types;
use types::StoredWalletState;
pub(crate) use types::WalletSecretMaterial;
pub use types::{
- RevealRecoveryPhraseResult, WalletAccount, WalletChain, WalletSetupParams, WalletSetupSource,
- WalletStatus, WALLET_NOT_CONFIGURED_MESSAGE,
+ GeneratedRecoveryPhrase, RecoveryPhraseValidation, RevealRecoveryPhraseResult, WalletAccount,
+ WalletChain, WalletRecoveryMaterial, WalletSetupParams, WalletSetupSource, WalletStatus,
+ WALLET_NOT_CONFIGURED_MESSAGE,
};
use log::debug;
@@ -26,7 +27,6 @@ use state::{
keychain_load_mnemonic, load_stored_wallet_state_unlocked, save_stored_wallet_state_unlocked,
to_status, LOG_PREFIX, WALLET_STATE_FILE_LOCK,
};
-use types::{GeneratedRecoveryPhrase, RecoveryPhraseValidation, WalletRecoveryMaterial};
const VALID_MNEMONIC_WORD_COUNTS: [u8; 5] = [12, 15, 18, 21, 24];