Fixed createReceivedBlock method.