Skip to content

Commit

Permalink
change u64_to_bytes to pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-o-how committed Aug 5, 2024
1 parent a81e3d0 commit 39d2d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chia-consensus/src/gen/condition_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn make_aggsig_final_message(
result
}

pub fn u64_to_bytes(val: u64) -> Bytes {
pub(crate) fn u64_to_bytes(val: u64) -> Bytes {
let amount_bytes: [u8; 8] = val.to_be_bytes();
if val >= 0x8000_0000_0000_0000_u64 {
let mut ret = Vec::<u8>::new();
Expand Down

0 comments on commit 39d2d85

Please sign in to comment.