Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Apr 19, 2024
1 parent 2960611 commit c5c48a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions runtime/regionx/src/impls.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::{AssetId, Runtime, RuntimeCall};
use frame_support::traits::InstanceFilter;
use frame_support::traits::{fungibles, Defensive};
use crate::{AccountId, AssetId, Assets, Authorship, Runtime, RuntimeCall};
use frame_support::traits::{fungibles, Defensive, InstanceFilter};
use orml_asset_registry::DefaultAssetMetadata;
use orml_traits::asset_registry::AssetProcessor;
use pallet_asset_tx_payment::HandleCredit;
Expand Down Expand Up @@ -41,7 +40,7 @@ impl HandleCredit<AccountId, Assets> for AssetsToBlockAuthor {
if let Some(author) = Authorship::author() {
// In case of error: Will drop the result triggering the `OnDrop` of the imbalance.
let _ = Assets::resolve(&author, credit).defensive();
}
}
}
}

Expand Down

0 comments on commit c5c48a0

Please sign in to comment.