@@ -283,14 +283,17 @@ pub struct TransactionUnion {
283283}
284284
285285impl 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