* Refactor: Improve type safety and readability of transaction execution (#22215) * resolve conflicts Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
@@ -43,8 +43,8 @@ pub fn find_and_send_votes(
|
||||
sanitized_txs
|
||||
.iter()
|
||||
.zip(execution_results.iter())
|
||||
.for_each(|(tx, (result, _nonce))| {
|
||||
if tx.is_simple_vote_transaction() && result.is_ok() {
|
||||
.for_each(|(tx, result)| {
|
||||
if tx.is_simple_vote_transaction() && result.was_executed_successfully() {
|
||||
if let Some(parsed_vote) =
|
||||
vote_transaction::parse_sanitized_vote_transaction(tx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user