Merge pull request #7811 from zaurbek/doc/blocks/remove.go

docs: fixed typos and commas in blocks/blockstoreutil's RemoveBlock comments
This commit is contained in:
Adin Schmahmann 2021-01-13 16:46:43 -05:00 committed by GitHub
commit 0d63fbb605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,10 @@ import (
)
// RemovedBlock is used to represent the result of removing a block.
// If a block was removed successfully than the Error string will be
// empty. If a block could not be removed than Error will contain the
// If a block was removed successfully, then the Error string will be
// empty. If a block could not be removed, then Error will contain the
// reason the block could not be removed. If the removal was aborted
// due to a fatal error Hash will be empty, Error will contain the
// due to a fatal error, Hash will be empty, Error will contain the
// reason, and no more results will be sent.
type RemovedBlock struct {
Hash string `json:",omitempty"`