removed MintReward and added PayLaneRewardFromAccount (#1693)

* removed MintReward and added PayLaneRewardFromAccount

* clippy

* added issue ref to TODO
This commit is contained in:
Svyatoslav Nikolsky
2022-12-02 14:05:54 +03:00
committed by Bastian Köcher
parent 7ab985718a
commit 3eb24d4515
7 changed files with 89 additions and 16 deletions
+2 -1
View File
@@ -396,7 +396,8 @@ impl pallet_authority_discovery::Config for Runtime {
impl pallet_bridge_relayers::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Reward = Balance;
type PaymentProcedure = bp_relayers::MintReward<pallet_balances::Pallet<Runtime>, AccountId>;
type PaymentProcedure =
bp_relayers::PayLaneRewardFromAccount<pallet_balances::Pallet<Runtime>, AccountId>;
type WeightInfo = ();
}