Skip to content

Commit 07b9686

Browse files
svyatonikbkchr
authored andcommitted
add missing license header (#1204)
1 parent 1920117 commit 07b9686

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

bridges/relays/messages/src/relay_strategy/mix_strategy.rs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
// Copyright 2019-2021 Parity Technologies (UK) Ltd.
2+
// This file is part of Parity Bridges Common.
3+
4+
// Parity Bridges Common is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
9+
// Parity Bridges Common is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
14+
// You should have received a copy of the GNU General Public License
15+
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
16+
17+
//! Adapter for using `enum RelayerMode` in a context which requires `RelayStrategy`.
18+
119
use async_trait::async_trait;
220

321
use crate::{
@@ -9,7 +27,7 @@ use crate::{
927
relay_strategy::{AltruisticStrategy, RationalStrategy, RelayReference, RelayStrategy},
1028
};
1129

12-
/// The relayer doesn't care about rewards.
30+
/// `RelayerMode` adapter.
1331
#[derive(Clone)]
1432
pub struct MixStrategy {
1533
relayer_mode: RelayerMode,

0 commit comments

Comments
 (0)