diff --git a/token-core/tcx/src/handler.rs b/token-core/tcx/src/handler.rs index 529b4882..401ff28c 100644 --- a/token-core/tcx/src/handler.rs +++ b/token-core/tcx/src/handler.rs @@ -983,7 +983,6 @@ pub(crate) fn sign_authentication_message(data: &[u8]) -> Result> { }) } -// TODO: add eth sub addr support pub(crate) fn derive_sub_accounts(data: &[u8]) -> Result> { let param: DeriveSubAccountsParam = DeriveSubAccountsParam::decode(data).expect("DeriveSubAccountsParam"); diff --git a/token-core/tcx/src/lib.rs b/token-core/tcx/src/lib.rs index ddb4477a..9ed4f2c4 100644 --- a/token-core/tcx/src/lib.rs +++ b/token-core/tcx/src/lib.rs @@ -100,7 +100,7 @@ pub unsafe extern "C" fn call_tcx_api(hex_str: *const c_char) -> *const c_char { "zksync_private_key_to_pubkey_hash" => { landingpad(|| zksync_private_key_to_pubkey_hash(&action.param.unwrap().value)) } - "generate_mnemonic" => landingpad(|| generate_mnemonic()), + // "generate_mnemonic" => landingpad(|| generate_mnemonic()), "remove_wallets" => landingpad(|| remove_wallet(&action.param.unwrap().value)), "encrypt_data_to_ipfs" => landingpad(|| encrypt_data_to_ipfs(&action.param.unwrap().value)), "decrypt_data_from_ipfs" => {