warn not info (#1190)

* warn not info

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Squirrel
2022-04-22 08:51:59 +01:00
committed by GitHub
parent c456ffa3f5
commit 45520d105b
@@ -56,9 +56,9 @@ impl ShouldExecute for DenyReserveTransferToRelayChain {
if matches!(origin, MultiLocation { parents: 1, interior: Here }) && if matches!(origin, MultiLocation { parents: 1, interior: Here }) &&
message.0.iter().any(|inst| matches!(inst, ReserveAssetDeposited { .. })) message.0.iter().any(|inst| matches!(inst, ReserveAssetDeposited { .. }))
{ {
log::info!( log::warn!(
target: "runtime::xcm-barier", target: "xcm::barrier",
"Unexpected Reserve Assets Deposited on the relay chain", "Unexpected ReserveAssetDeposited from the relay chain",
); );
} }
// Permit everything else // Permit everything else