We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30383fd commit a02decdCopy full SHA for a02decd
crates/core/src/types.rs
@@ -134,7 +134,6 @@ pub struct CancelBundle {
134
pub struct BundleWithMetadata {
135
bundle: Bundle,
136
uuid: Uuid,
137
- transactions: Vec<OpTxEnvelope>,
138
meter_bundle_response: MeterBundleResponse,
139
}
140
@@ -152,18 +151,8 @@ impl BundleWithMetadata {
152
151
153
bundle.replacement_uuid = Some(uuid.to_string());
154
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
-
164
Ok(BundleWithMetadata {
165
bundle,
166
- transactions,
167
uuid,
168
meter_bundle_response,
169
})
0 commit comments