Skip to content

Commit

Permalink
chore: improve BundleStateWithReceipts docs (#6572)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected authored Feb 12, 2024
1 parent 749903a commit d4cf706
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ impl BundleStateWithReceipts {
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
/// detached, This would make some original values not known.
/// `is_value_known` should be set to `Not` if the [BundleStateWithReceipts] has some of its
/// state detached, This would make some original values not known.
pub fn write_to_db<TX: DbTxMut + DbTx>(
self,
tx: &TX,
Expand Down

0 comments on commit d4cf706

Please sign in to comment.