fixes comments in clique.seal func

This commit is contained in:
jangko 2021-08-24 16:14:17 +07:00
parent 7dbc44f88c
commit a0ee842367
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 8 deletions

View File

@ -252,15 +252,8 @@ proc sealHash*(header: BlockHeader): Hash256 =
proc seal*(c: Clique; ethBlock: var EthBlock): proc seal*(c: Clique; ethBlock: var EthBlock):
Result[void,CliqueError] {.gcsafe, Result[void,CliqueError] {.gcsafe,
raises: [Defect,CatchableError].} = raises: [Defect,CatchableError].} =
## For the Consensus Engine, `seal()` generates a new sealing request for
## the given input block and pushes the result into the given channel.
##
## Note, the method returns immediately and will send the result async. More
## than one result may also be returned depending on the consensus algorithm.
##
## This implementation attempts to create a sealed block using the local ## This implementation attempts to create a sealed block using the local
## signing credentials. If running in the background, the process can be ## signing credentials.
## stopped by calling the `stopSeal()` function.
var header = ethBlock.header var header = ethBlock.header