Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
cargo-contract
Commits
bbafb3bf
Commit
bbafb3bf
authored
Mar 29, 2022
by
Sasha Gryaznov
Browse files
remove some debugging prints
This reverts commit
1375fee8
.
parent
1875e5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cmd/extrinsics/transcode/decode.rs
View file @
bbafb3bf
...
...
@@ -153,11 +153,7 @@ 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
.variants
()
.get
(
discriminant
as
usize
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment