types: Minor format

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-05-04 14:07:39 -04:00
parent b9fe2d73d6
commit 24d1e6da01

View File

@@ -744,9 +744,7 @@ type ExtendedCommitSig struct {
// NewExtendedCommitSigAbsent returns new ExtendedCommitSig with
// BlockIDFlagAbsent. Other fields are all empty.
func NewExtendedCommitSigAbsent() ExtendedCommitSig {
return ExtendedCommitSig{
BlockIDFlag: BlockIDFlagAbsent,
}
return ExtendedCommitSig{BlockIDFlag: BlockIDFlagAbsent}
}
// ForBlock returns true if ExtendedCommitSig is for the block.