refactor: Apply rust suggested changes

This commit is contained in:
0xalivecow 2024-10-23 10:24:13 +02:00
parent 067ef6141c
commit 8a92b884a1
No known key found for this signature in database
5 changed files with 6 additions and 16 deletions

View file

@ -1,8 +1,6 @@
use std::{str::Bytes, string};
use crate::utils::poly::{self, b64_2_num, get_coefficients};
use crate::utils::poly::{b64_2_num, get_coefficients};
use anyhow::Result;
use base64::prelude::*;
use serde_json::Value;
pub fn block2poly(val: &Value) -> Result<Vec<u8>> {