File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,7 @@ impl SignetBundleDriver<'_> {
5050 self . response
5151 }
5252
53- /// Clear the driver, resetting the response and the aggregate fills. This
54- /// resets the driver, allowing for re-simulation of the same bundle.
53+ /// Clear the driver, resetting the response.
5554 pub fn clear ( & mut self ) -> SignetCallBundleResponse {
5655 std:: mem:: take ( & mut self . response )
5756 }
@@ -176,7 +175,7 @@ impl<I> BundleDriver<OrderDetector<I>> for SignetBundleDriver<'_> {
176175 . unwrap_or_default ( ) ;
177176 self . response . bundle_hash = self . bundle . bundle_hash ( ) ;
178177
179- // Taking these clears the context for reuse.
178+ // Taking these clears the order detector
180179 let ( orders, fills) = trevm. inner_mut_unchecked ( ) . context . external . take_aggregate ( ) ;
181180 self . response . orders = orders;
182181 self . response . fills = fills;
You can’t perform that action at this time.
0 commit comments