Skip to content

Commit

Permalink
add missing license header (paritytech#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored and serban300 committed Apr 8, 2024
1 parent 1d3b7c0 commit 8965fe1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion bridges/relays/messages/src/relay_strategy/mix_strategy.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// Copyright 2019-2021 Parity Technologies (UK) Ltd.
// This file is part of Parity Bridges Common.

// Parity Bridges Common is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Parity Bridges Common is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.

//! Adapter for using `enum RelayerMode` in a context which requires `RelayStrategy`.

use async_trait::async_trait;

use crate::{
Expand All @@ -9,7 +27,7 @@ use crate::{
relay_strategy::{AltruisticStrategy, RationalStrategy, RelayReference, RelayStrategy},
};

/// The relayer doesn't care about rewards.
/// `RelayerMode` adapter.
#[derive(Clone)]
pub struct MixStrategy {
relayer_mode: RelayerMode,
Expand Down

0 comments on commit 8965fe1

Please sign in to comment.