Replace BlockHeaderHash with block::Hash

This commit is contained in:
teor 2020-10-26 22:27:57 +10:00 committed by GitHub
parent a9102e8d6d
commit fb079c2ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -720,7 +720,7 @@ CommitBlock {
``` ```
Performs contextual validation of the given block, committing it to the state Performs contextual validation of the given block, committing it to the state
if successful. Returns `Response::Added(BlockHeaderHash)` with the hash of if successful. Returns `Response::Added(block::Hash)` with the hash of
the newly committed block or an error. the newly committed block or an error.
### `Request::CommitFinalizedBlock` ### `Request::CommitFinalizedBlock`
@ -801,7 +801,7 @@ Implemented by querying:
transaction) and then `block_by_height` tree (to get the block containing transaction) and then `block_by_height` tree (to get the block containing
the transaction data), if the transaction is not in any non-finalized chain the transaction data), if the transaction is not in any non-finalized chain
### `Request::Block(BlockHeaderHash)` ### `Request::Block(block::Hash)`
[request-block]: #request-block [request-block]: #request-block
Returns Returns