Skip to content

Commit

Permalink
Remove redundant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
surangap committed Oct 3, 2024
1 parent f562152 commit 1912f90
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pallet/xrpl-bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,21 +413,11 @@ pub mod pallet {
pub type DoorTicketSequenceParamsNext<T: Config> =
StorageMap<_, Twox64Concat, XRPLDoorAccount, XrplTicketSequenceParams, ValueQuery>;

#[pallet::type_value]
pub fn DefaultTicketSequenceThresholdReachedEmitted() -> bool {
false
}
#[pallet::storage]
#[pallet::getter(fn ticket_sequence_threshold_reached_emitted)]
/// Keeps track whether the TicketSequenceThresholdReached event is emitted for XRPL door accounts
pub type TicketSequenceThresholdReachedEmitted<T: Config> = StorageMap<
_,
Twox64Concat,
XRPLDoorAccount,
bool,
ValueQuery,
DefaultTicketSequenceThresholdReachedEmitted,
>;
pub type TicketSequenceThresholdReachedEmitted<T: Config> =
StorageMap<_, Twox64Concat, XRPLDoorAccount, bool, ValueQuery>;

/// Default door tx fee 1 XRP
#[pallet::type_value]
Expand Down

0 comments on commit 1912f90

Please sign in to comment.