Skip to content

Commit 1ba6d3f

Browse files
committed
use StaticMeta instead
1 parent afc0f61 commit 1ba6d3f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

runtime/src/bank.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3189,11 +3189,8 @@ impl Bank {
31893189
.enumerate()
31903190
.map(|(i, tx_result)| match tx_result {
31913191
Ok(()) if relax_intrabatch_account_locks => {
3192-
let message_hash =
3193-
*transactions[i].as_sanitized_transaction().message_hash();
3194-
31953192
// `HashSet::insert()` returns `true` when the value does *not* already exist
3196-
if batch_message_hashes.insert(message_hash) {
3193+
if batch_message_hashes.insert(transactions[i].message_hash()) {
31973194
Ok(())
31983195
} else {
31993196
Err(TransactionError::AccountInUse)

0 commit comments

Comments
 (0)