fixes comments in clique.seal func
This commit is contained in:
parent
7dbc44f88c
commit
a0ee842367
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue