diff --git a/src/codegen/encoding/scale_encoding.rs b/src/codegen/encoding/scale_encoding.rs index 20d2a52a0..e67507820 100644 --- a/src/codegen/encoding/scale_encoding.rs +++ b/src/codegen/encoding/scale_encoding.rs @@ -149,7 +149,7 @@ fn encode_compact( Instr::WriteBuffer { buf: buffer.clone(), offset: offset.clone(), - value: Expression::Cast(Codegen, Uint(16), mul.clone().into()), + value: Expression::Cast(Codegen, Uint(16), mul.into()), }, ); }