Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 71e47d7

Browse files
authored
Fix master build (#7837)
* Fix master build * Use correct copyright year
1 parent 170eed5 commit 71e47d7

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

frame/lottery/src/benchmarking.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is part of Substrate.
22

3-
// Copyright (C) 2020 Parity Technologies (UK) Ltd.
3+
// Copyright (C) 2021 Parity Technologies (UK) Ltd.
44
// SPDX-License-Identifier: Apache-2.0
55

66
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -47,8 +47,6 @@ fn setup_lottery<T: Config>(repeat: bool) -> Result<(), &'static str> {
4747
}
4848

4949
benchmarks! {
50-
_ { }
51-
5250
buy_ticket {
5351
let caller = whitelisted_caller();
5452
T::Currency::make_free_balance_be(&caller, BalanceOf::<T>::max_value());

frame/lottery/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is part of Substrate.
22

3-
// Copyright (C) 2017-2020 Parity Technologies (UK) Ltd.
3+
// Copyright (C) 2021 Parity Technologies (UK) Ltd.
44
// SPDX-License-Identifier: Apache-2.0
55

66
// Licensed under the Apache License, Version 2.0 (the "License");

frame/lottery/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is part of Substrate.
22

3-
// Copyright (C) 2020 Parity Technologies (UK) Ltd.
3+
// Copyright (C) 2021 Parity Technologies (UK) Ltd.
44
// SPDX-License-Identifier: Apache-2.0
55

66
// Licensed under the Apache License, Version 2.0 (the "License");

frame/lottery/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file is part of Substrate.
22

3-
// Copyright (C) 2020 Parity Technologies (UK) Ltd.
3+
// Copyright (C) 2021 Parity Technologies (UK) Ltd.
44
// SPDX-License-Identifier: Apache-2.0
55

66
// Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)