refactor: remove unneded functions
This commit is contained in:
parent
24611a2357
commit
c416547067
3 changed files with 3 additions and 21 deletions
|
|
@ -8,7 +8,6 @@ use serde_json::Value;
|
|||
pub fn block2poly(val: &Value) -> Result<Vec<u8>> {
|
||||
// Convert JSON data in to a u128
|
||||
// TODO: Transfer decoding into own function?
|
||||
eprintln!("Decoded is: {:?}", val["block"]);
|
||||
let string: String = serde_json::from_value(val["block"].clone())?;
|
||||
let decoded: Vec<u8> = BASE64_STANDARD.decode(string)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue