Skip to content

Commit a02decd

Browse files
committed
remove transactions
1 parent 30383fd commit a02decd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

crates/core/src/types.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ pub struct CancelBundle {
134134
pub struct BundleWithMetadata {
135135
bundle: Bundle,
136136
uuid: Uuid,
137-
transactions: Vec<OpTxEnvelope>,
138137
meter_bundle_response: MeterBundleResponse,
139138
}
140139

@@ -152,18 +151,8 @@ impl BundleWithMetadata {
152151

153152
bundle.replacement_uuid = Some(uuid.to_string());
154153

155-
let transactions: Vec<OpTxEnvelope> = bundle
156-
.txs
157-
.iter()
158-
.map(|b| {
159-
OpTxEnvelope::decode_2718_exact(b)
160-
.map_err(|e| format!("failed to decode transaction: {e}"))
161-
})
162-
.collect::<Result<Vec<_>, _>>()?;
163-
164154
Ok(BundleWithMetadata {
165155
bundle,
166-
transactions,
167156
uuid,
168157
meter_bundle_response,
169158
})

0 commit comments

Comments
 (0)