Unverified Commit 00ea9038 authored by Michael Müller's avatar Michael Müller
Browse files

Fix build warning

parent 8228bf0d
......@@ -27,6 +27,7 @@ cfg-if = "1.0"
paste = "1.0"
arrayref = "0.3"
static_assertions = "1.1"
impl-serde = "0.3.1"
# Hashes for the off-chain environment.
sha2 = { version = "0.9", optional = true }
......
......@@ -41,6 +41,7 @@ use crate::{
};
use core::convert::TryInto;
use ink_primitives::Key;
use impl_serde::serialize as serde_hex;
use num_traits::Bounded;
impl EnvInstance {
......@@ -277,7 +278,7 @@ impl EnvInstance {
beneficiary,
transferred: all,
};
panic!(scale::Encode::encode(&res));
panic!("0x{}", serde_hex::to_hex(&scale::Encode::encode(&res), false));
}
}
......
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