Skip to content

Commit

Permalink
add v2 types
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Nov 6, 2024
1 parent 0a9687e commit 12add4a
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
newline_style="Unix"
reorder_imports=true
# only supported in nightly
imports_granularity="Module"
imports_granularity="Module"
2 changes: 1 addition & 1 deletion sia/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub type BlockID = Hash256;

pub struct ChainIndex {
pub height: u64,
pub id: [u8; 32],
pub id: BlockID,
}

impl fmt::Display for ChainIndex {
Expand Down
Loading

0 comments on commit 12add4a

Please sign in to comment.