Skip to content

Commit

Permalink
typo: remove some todo
Browse files Browse the repository at this point in the history
  • Loading branch information
XuNeal committed Dec 13, 2023
1 parent b34befb commit 3e3db9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion token-core/tcx/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,6 @@ pub(crate) fn sign_authentication_message(data: &[u8]) -> Result<Vec<u8>> {
})
}

// TODO: add eth sub addr support
pub(crate) fn derive_sub_accounts(data: &[u8]) -> Result<Vec<u8>> {
let param: DeriveSubAccountsParam =
DeriveSubAccountsParam::decode(data).expect("DeriveSubAccountsParam");
Expand Down
2 changes: 1 addition & 1 deletion token-core/tcx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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" => {
Expand Down

0 comments on commit 3e3db9a

Please sign in to comment.