diff --git a/fluffy/network/history/history_network.nim b/fluffy/network/history/history_network.nim index 1284fcb13..1ce8e0ecf 100644 --- a/fluffy/network/history/history_network.nim +++ b/fluffy/network/history/history_network.nim @@ -183,9 +183,10 @@ proc getBlock*( let maybeBody = validateBodyBytes(bodyContent.content, header.txRoot, header.ommersHash) if maybeBody.isNone(): - info "Fetched block body from the network", hash return none(Block) + info "Fetched block body from the network", hash + let blockBody = maybeBody.unsafeGet() # body is valid, propagate it to interested peers