mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 22:19:49 +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:
1 parent
c761d4c39e
commit
d6d9bd9ea3
28 files changed
+351
-71
No files matched your search
@@ -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