* Split out get-first-err for unit testing
* Add failing test
* Add missing ordering
(cherry picked from commit 6c38369042
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
@@ -41,6 +41,11 @@ impl<'a, 'b> TransactionBatch<'a, 'b> {
|
||||
pub fn iteration_order(&self) -> Option<&[usize]> {
|
||||
self.iteration_order.as_deref()
|
||||
}
|
||||
|
||||
pub fn iteration_order_vec(&self) -> Option<Vec<usize>> {
|
||||
self.iteration_order.clone()
|
||||
}
|
||||
|
||||
pub fn bank(&self) -> &Bank {
|
||||
self.bank
|
||||
}
|
||||
|
Reference in New Issue
Block a user