Skip to content

Commit

Permalink
chore: fix log (#4634)
Browse files Browse the repository at this point in the history
Description
---
Fix the log `Block contains kernel excess`
This validator is used by the mempool for transactions and by the base_nodes for blocks
  • Loading branch information
SWvheerden authored Sep 9, 2022
1 parent f71186a commit 3949e0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base_layer/core/src/validation/transaction_validators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ impl<B: BlockchainBackend> TxConsensusValidator<B> {
for kernel in tx.body.kernels() {
if let Some((db_kernel, header_hash)) = self.db.fetch_kernel_by_excess_sig(kernel.excess_sig.to_owned())? {
let msg = format!(
"Block contains kernel excess: {} which matches already existing excess signature in chain \
database block hash: {}. Existing kernel excess: {}, excess sig nonce: {}, excess signature: {}",
"Aggregate body contains kernel excess: {} which matches already existing excess signature in \
chain database block hash: {}. Existing kernel excess: {}, excess sig nonce: {}, excess \
signature: {}",
kernel.excess.to_hex(),
header_hash.to_hex(),
db_kernel.excess.to_hex(),
Expand Down

0 comments on commit 3949e0b

Please sign in to comment.