Skip to content

Commit c2ec5e5

Browse files
0xMimirtizoc
andauthored
Update node/src/transaction_pool/candidate/transaction_pool_candidate_actions.rs
Co-authored-by: Bruno Deferrari <[email protected]>
1 parent b89d5c9 commit c2ec5e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/src/transaction_pool/candidate/transaction_pool_candidate_actions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ impl redux::EnablingCondition<crate::State> for TransactionPoolCandidateAction {
111111
.is_some(),
112112
TransactionPoolCandidateAction::Libp2pTransactionsReceived { .. } => true,
113113
TransactionPoolCandidateAction::VerifyNext => {
114+
// TODO: if a block is being applied or produced, skip this action too
114115
state.transition_frontier.sync.is_synced()
115116
}
116117
TransactionPoolCandidateAction::VerifyPending {

0 commit comments

Comments
 (0)