chore: improve BundleStateWithReceipts docs (#6572)

This commit is contained in:
Dan Cline
2024-02-12 16:38:54 -05:00
committed by GitHub
parent 749903ad80
commit d4cf706ed2

View File

@ -285,10 +285,10 @@ impl BundleStateWithReceipts {
std::mem::swap(&mut self.bundle, &mut other) std::mem::swap(&mut self.bundle, &mut other)
} }
/// Write bundle state to database. /// Write the [BundleStateWithReceipts] to the database.
/// ///
/// `omit_changed_check` should be set to true of bundle has some of it data /// `is_value_known` should be set to `Not` if the [BundleStateWithReceipts] has some of its
/// detached, This would make some original values not known. /// state detached, This would make some original values not known.
pub fn write_to_db<TX: DbTxMut + DbTx>( pub fn write_to_db<TX: DbTxMut + DbTx>(
self, self,
tx: &TX, tx: &TX,