mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove unrelated SAFETY tags on comments (#6726)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
This commit is contained in:
@ -169,7 +169,7 @@ impl TxEip4844 {
|
||||
/// Returns the total gas for all blobs in this transaction.
|
||||
#[inline]
|
||||
pub fn blob_gas(&self) -> u64 {
|
||||
// SAFETY: we don't expect u64::MAX / DATA_GAS_PER_BLOB hashes in a single transaction
|
||||
// NOTE: we don't expect u64::MAX / DATA_GAS_PER_BLOB hashes in a single transaction
|
||||
self.blob_versioned_hashes.len() as u64 * DATA_GAS_PER_BLOB
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user