mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Encryption support for the statement store (#14440)
* Added ECIES encryption * tweaks * fmt * Make clippy happy * Use local keystore * qed
This commit is contained in:
@@ -776,9 +776,7 @@ pub trait Crypto {
|
||||
return false
|
||||
};
|
||||
|
||||
let Ok(sig) = ed25519_dalek::Signature::from_bytes(&sig.0) else {
|
||||
return false
|
||||
};
|
||||
let Ok(sig) = ed25519_dalek::Signature::from_bytes(&sig.0) else { return false };
|
||||
|
||||
public_key.verify(msg, &sig).is_ok()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user