mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-10 17:23:07 +00:00
remove unused function
This commit is contained in:
parent
f49d79d0e4
commit
f707d3893d
@ -22,17 +22,6 @@ pub struct KeyChain {
|
||||
pub incoming_viewing_public_key: IncomingViewingPublicKey,
|
||||
}
|
||||
|
||||
pub fn produce_user_address_foreign_account(
|
||||
npk: &NullifierPublicKey,
|
||||
ipk: &IncomingViewingPublicKey,
|
||||
) -> [u8; 32] {
|
||||
let mut hasher = sha2::Sha256::new();
|
||||
|
||||
hasher.update(npk);
|
||||
hasher.update(ipk.to_bytes());
|
||||
|
||||
<TreeHashType>::from(hasher.finalize_fixed())
|
||||
}
|
||||
|
||||
impl KeyChain {
|
||||
pub fn new_os_random() -> Self {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user