Skip to content

Commit

Permalink
change some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason committed Aug 11, 2023
1 parent 25d9c26 commit d5a0fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/src/traits/interoperation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ pub const SIGNATURE_HASH_CELL_OCCUPIED_CAPACITY: u64 = signature_hash_cell_bytes
/// args: 0x
/// hash_type: data
/// data: signature hash(32 bytes)
/// capacity: 0x277cf2a00
/// capacity: 0x1ad274800
/// ```
/// So the occupied bytes is 32 + 32 + 1 + 32 + 1 + 8 = 106 bytes.
/// So the occupied bytes is 32 + 32 + 8 = 72 bytes.
const fn signature_hash_cell_bytes() -> u64 {
32 + 32 + 8
}
Expand Down

0 comments on commit d5a0fbe

Please sign in to comment.