fix log
This commit is contained in:
@@ -25,7 +25,7 @@ class PriorityForkChoice : ForkChoice {
|
|||||||
|
|
||||||
override fun choose(block: BlockContainer): ForkChoice.ChoiceResult {
|
override fun choose(block: BlockContainer): ForkChoice.ChoiceResult {
|
||||||
head.get()?.let {
|
head.get()?.let {
|
||||||
log.debug("Candidate for priority forkchoice (${block.height}, ${block.nodeRating}), current is (${it.height},${it.nodeRating}")
|
log.debug("Candidate for priority forkchoice (${block.height}, ${block.nodeRating}), current is (${it.height},${it.nodeRating})")
|
||||||
}
|
}
|
||||||
val nwhead = head.updateAndGet { curr ->
|
val nwhead = head.updateAndGet { curr ->
|
||||||
if (!filter(block)) {
|
if (!filter(block)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user