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 afc0f61 commit 1ba6d3fCopy full SHA for 1ba6d3f
runtime/src/bank.rs
@@ -3189,11 +3189,8 @@ impl Bank {
3189
.enumerate()
3190
.map(|(i, tx_result)| match tx_result {
3191
Ok(()) if relax_intrabatch_account_locks => {
3192
- let message_hash =
3193
- *transactions[i].as_sanitized_transaction().message_hash();
3194
-
3195
// `HashSet::insert()` returns `true` when the value does *not* already exist
3196
- if batch_message_hashes.insert(message_hash) {
+ if batch_message_hashes.insert(transactions[i].message_hash()) {
3197
Ok(())
3198
} else {
3199
Err(TransactionError::AccountInUse)
0 commit comments