Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
open-junius committed May 9, 2024
1 parent d241191 commit f765321
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions runtime/src/check_nonce.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
// This file is part of Substrate.

// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

use codec::{Decode, Encode};
use frame_support::dispatch::{DispatchInfo, Pays};
use frame_system::Config;
Expand Down Expand Up @@ -79,7 +62,6 @@ where
info: &DispatchInfoOf<Self::Call>,
_len: usize,
) -> Result<(), TransactionValidityError> {
// let dispatch_info = <Call as GetDispatchInfo>::get_dispatch_info(call);
let mut account = frame_system::Account::<T>::get(who);
match info.pays_fee {
Pays::Yes => {
Expand Down

0 comments on commit f765321

Please sign in to comment.