consensus: add debug event on wrong version check
Adding this check reveals that the WrongVersion errors aren't coming from the correct WrongVersion check.
This commit is contained in:
parent
25fd52be51
commit
b116cfcd76
|
@ -93,6 +93,7 @@ where
|
|||
tracing::trace!(?tx);
|
||||
match &*tx {
|
||||
Transaction::V1 { .. } | Transaction::V2 { .. } | Transaction::V3 { .. } => {
|
||||
tracing::debug!(?tx, "got transaction with wrong version");
|
||||
Err(TransactionError::WrongVersion)
|
||||
}
|
||||
Transaction::V4 {
|
||||
|
|
Loading…
Reference in New Issue