warn not info (#1190) (#1212)

* warn not info

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Chevdor
2022-04-25 09:52:57 +02:00
committed by GitHub
parent 2b98b34ff3
commit 592cb1f0b6
@@ -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