Skip to content

Commit e748bc8

Browse files
committed
ledger/scan_state: wrap comments at 80 chars
1 parent 770cccd commit e748bc8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

ledger/src/scan_state/transaction_logic/transaction_union_payload.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,17 @@ pub struct TransactionUnion {
283283
}
284284

285285
impl TransactionUnion {
286-
/// For SNARK purposes, we inject [Transaction.t]s into a single-variant 'tagged-union' record capable of
287-
/// representing all the variants. We interpret the fields of this union in different ways depending on
288-
/// the value of the [payload.body.tag] field, which represents which variant of [Transaction.t] the value
289-
/// corresponds to.
286+
/// For SNARK purposes, we inject [Transaction.t]s into a single-variant
287+
/// 'tagged-union' record capable of representing all the variants. We
288+
/// interpret the fields of this union in different ways depending on the
289+
/// value of the [payload.body.tag] field, which represents which variant of
290+
/// [Transaction.t] the value corresponds to.
290291
///
291-
/// Sometimes we interpret fields in surprising ways in different cases to save as much space in the SNARK as possible (e.g.,
292-
/// [payload.body.public_key] is interpreted as the recipient of a payment, the new delegate of a stake
293-
/// delegation command, and a fee transfer recipient for both coinbases and fee-transfers.
292+
/// Sometimes we interpret fields in surprising ways in different cases to
293+
/// save as much space in the SNARK as possible (e.g.,
294+
/// [payload.body.public_key] is interpreted as the recipient of a payment,
295+
/// the new delegate of a stake delegation command, and a fee transfer
296+
/// recipient for both coinbases and fee-transfers.
294297
pub fn of_transaction(tx: &Transaction) -> Self {
295298
match tx {
296299
Transaction::Command(cmd) => {

0 commit comments

Comments
 (0)