mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-25 17:39:27 +00:00
clean up
This commit is contained in:
parent
b0593b34fb
commit
9d212a4478
@ -7,7 +7,6 @@ from keycard.commands.export_lee_key import export_lee_key
|
||||
from mnemonic import Mnemonic
|
||||
from keycard import constants
|
||||
|
||||
import keycard
|
||||
import os
|
||||
import secrets
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
use nssa::{AccountId, PublicKey, Signature};
|
||||
use nssa_core::NullifierPublicKey;
|
||||
use pyo3::{prelude::*, types::PyAny};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use zeroize::Zeroizing;
|
||||
@ -268,15 +267,6 @@ impl KeycardWallet {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn get_private_account_id_for_path_with_connect(
|
||||
pin: &str,
|
||||
key_path: &str,
|
||||
) -> PyResult<String> {
|
||||
let (nsk, _vsk) = Self::get_private_keys_for_path_with_connect(pin, key_path)?;
|
||||
let npk = NullifierPublicKey::from(&*nsk);
|
||||
|
||||
Ok(format!("Private/{}", AccountId::from((&npk, 0_u128))))
|
||||
}
|
||||
}
|
||||
|
||||
fn pairing_file_path() -> Option<PathBuf> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user