Commit 1375fee8 authored by Sasha Gryaznov's avatar Sasha Gryaznov
Browse files

[REVERT!] some debug data to dig into an error

parent 31a35a19
......@@ -151,7 +151,11 @@ impl<'a> Decoder<'a> {
variant_type: &TypeDefVariant<PortableForm>,
input: &mut &[u8],
) -> Result<Value> {
let i2 = input.clone();
let discriminant = input.read_byte()?;
println!("type is {:?}", &variant_type.clone());
println!("input is {:?}", &i2);
println!("discriminant is {:?}", &discriminant);
let variant = variant_type
.get(discriminant as usize)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment