don't try to access .error of Opt (#4377)

This commit is contained in:
tersec 2022-11-30 12:34:31 +00:00 committed by GitHub
parent d51d7de10b
commit 096c43db59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -759,7 +759,7 @@ proc proposeBlockMEV(
if unblindedBlockRef.isErr:
unblindedBlockRef.error
else:
"Unblinded block failed either to validate or integrate into validated store: " & unblindedBlockRef.get.error
"Unblinded block failed either to validate or integrate into validated store"
warn "proposeBlockMEV: blinded block not successfully unblinded and proposed",
head = shortLog(head), slot, validator_index,
validator = shortLog(validator),