Skip to content

Commit

Permalink
node-data: export faker methods
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jul 3, 2024
1 parent a6f87b1 commit e2fae92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node-data/src/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ pub fn to_str<const N: usize>(bytes: &[u8; N]) -> String {

first.to_owned() + "..." + second
}

#[cfg(any(feature = "faker", test))]
pub mod faker {
pub use super::transaction::faker::gen_dummy_tx;
}

0 comments on commit e2fae92

Please sign in to comment.