Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-D-coder committed Mar 18, 2024
1 parent 938490a commit 0754a5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ use core::fmt::{Debug, Display};
pub mod stored;
mod transaction;

pub use transaction::nodes::{Branch, Leaf, Node, TrieRoot};
pub use transaction::Transaction;
pub use transaction::{
nodes::{Branch, Leaf, Node, TrieRoot},
Transaction,
};

#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
pub struct KeyHash(pub [u32; 8]);
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/nodes.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use alloc::{boxed::Box, vec::Vec};
use core::{iter, mem};

use alloc::{boxed::Box, vec::Vec};
use sha2::{Digest, Sha256};

use crate::{stored, KeyHash, NodeHash};
Expand Down

0 comments on commit 0754a5f

Please sign in to comment.