Skip to content

Commit

Permalink
remove unnecessary serde serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanco committed Sep 4, 2023
1 parent da09507 commit c8123a8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frame/vesting-mangata/src/vesting_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@
// limitations under the License.

//! Module to enforce private fields on `VestingInfo`.
#[cfg(feature = "std")]
use sp_runtime::serde::{Deserialize, Serialize};

use super::*;

/// Struct to encode the vesting schedule of an individual account.
#[derive(Encode, Decode, Copy, Clone, PartialEq, Eq, MaxEncodedLen, RuntimeDebug, TypeInfo)]
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
pub struct VestingInfo<Balance, BlockNumber> {
/// Locked amount at genesis.
locked: Balance,
Expand Down

0 comments on commit c8123a8

Please sign in to comment.