This commit is contained in:
Marvin Jones 2026-05-22 17:05:45 -04:00
parent b0593b34fb
commit 9d212a4478
2 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -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> {