Skip to content

Commit

Permalink
Mint terms (#3375)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Mar 27, 2024
1 parent 4533fde commit 8e3b666
Show file tree
Hide file tree
Showing 35 changed files with 1,647 additions and 992 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))
Self::Confirmed(timestamp(seconds.into()))
}

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

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

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

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

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

0 comments on commit 8e3b666

Please sign in to comment.