Skip to content

Commit

Permalink
Revert "Mint terms (ordinals#3375)"
Browse files Browse the repository at this point in the history
This reverts commit 0d521d0.
  • Loading branch information
harutyunaraci committed Apr 2, 2024
1 parent 044fd43 commit 7608e8a
Show file tree
Hide file tree
Showing 35 changed files with 992 additions and 1,647 deletions.
2 changes: 1 addition & 1 deletion src/blocktime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub(crate) enum Blocktime {

impl Blocktime {
pub(crate) fn confirmed(seconds: u32) -> Self {
Self::Confirmed(timestamp(seconds.into()))
Self::Confirmed(timestamp(seconds))
}

pub(crate) fn timestamp(self) -> DateTime<Utc> {
Expand Down
5 changes: 3 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use {
},
event::Event,
reorg::*,
runes::{Rune, RuneId},
updater::Updater,
},
super::*,
Expand Down Expand Up @@ -34,7 +35,7 @@ use {
},
};

pub use self::entry::RuneEntry;
pub use {self::entry::RuneEntry, entry::MintEntry};

pub(crate) mod entry;
pub mod event;
Expand All @@ -46,7 +47,7 @@ mod updater;
#[cfg(test)]
pub(crate) mod testing;

const SCHEMA_VERSION: u64 = 24;
const SCHEMA_VERSION: u64 = 23;

macro_rules! define_table {
($name:ident, $key:ty, $value:ty) => {
Expand Down
Loading

0 comments on commit 7608e8a

Please sign in to comment.