aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_validator.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/block_validator.go')
-rw-r--r--core/block_validator.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/block_validator.go b/core/block_validator.go
index 1bb6aafa2..b91981e33 100644
--- a/core/block_validator.go
+++ b/core/block_validator.go
@@ -111,8 +111,7 @@ func (v *BlockValidator) ValidateWitnessData(height uint64, blockHash common.Has
}
if b.Hash() != blockHash {
- log.Error("invalid witness block %s vs %s",
- b.Hash().String(), blockHash.String())
+ log.Error("invalid witness block", "first", b.Hash().String(), "second", blockHash.String())
return consensus.ErrWitnessMismatch
}
return nil