Skip to content

Commit

Permalink
Merge branch '2.0' into failed-transaction-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Mar 26, 2024
2 parents 1cdb869 + 826e63d commit 8d16024
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl TransactionBuilder {
let mut block_indexes = HashMap::<Address, usize>::new();

// Assuming inputs_data is ordered by address type
for (current_block_index, input) in self.selected_inputs.iter().enumerate() {
for (current_block_index, input) in self.selected_inputs.sorted_iter().enumerate() {
// Get the address that is required to unlock the input
let required_address = input
.output
Expand Down

0 comments on commit 8d16024

Please sign in to comment.