mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 12:45:04 +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
@@ -52,9 +52,7 @@ fn check<N>(f: N, n: N, d: N, r: Rounding)
|
||||
where
|
||||
N: MultiplyRational + Into<u128> + Copy + core::fmt::Debug,
|
||||
{
|
||||
let Some(got) = f.multiply_rational(n, d, r) else {
|
||||
return;
|
||||
};
|
||||
let Some(got) = f.multiply_rational(n, d, r) else { return };
|
||||
|
||||
let (ae, be, ce) =
|
||||
(Fraction::from(f.into()), Fraction::from(n.into()), Fraction::from(d.into()));
|
||||
|
||||
Reference in new issue
Block a user