Skip to content
Snippets Groups Projects
Verified Commit 39b2c3ac authored by Michal Kucharczyk's avatar Michal Kucharczyk
Browse files

view: revalidation TransactionValidityError::Unknown -> invalid

parent 2a6757d5
No related merge requests found
Pipeline #501308 waiting for manual action with stages
in 32 minutes and 58 seconds
......@@ -275,10 +275,6 @@ where
Ok(Err(TransactionValidityError::Invalid(_))) => {
invalid_hashes.push(tx_hash);
},
Ok(Err(TransactionValidityError::Unknown(_))) => {
// skipping unknown, they might be pushed by valid or invalid transaction
// when latter resubmitted.
},
Ok(Ok(validity)) => {
revalidated.insert(
tx_hash,
......@@ -292,6 +288,15 @@ where
),
);
},
Ok(Err(TransactionValidityError::Unknown(e))) => {
log::trace!(
target: LOG_TARGET,
"[{:?}]: Removing. Cannot determine transaction validity: {:?}",
tx_hash,
e
);
invalid_hashes.push(tx_hash);
},
Err(validation_err) => {
log::trace!(
target: LOG_TARGET,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment