log/read error from correct failed future (#4890)

This commit is contained in:
tersec 2023-05-04 16:53:25 +00:00 committed by GitHub
parent 1e7eec18ce
commit 2bd9e5a54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ proc proposeBlockAux(
else:
info "Engine block building error",
slot, head = shortLog(head), validator = shortLog(validator),
err = payloadBuilderBidFut.read().error()
err = engineBlockFut.read.error()
false
else:
info "Engine block building failed",