mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-19 05:36:15 +00:00
add todo for naked return
This commit is contained in:
@@ -1346,6 +1346,10 @@ func (cs *State) isProposalComplete() bool {
|
||||
|
||||
}
|
||||
|
||||
// TODO: createProposalBlock should not naked return
|
||||
// It has two cases that appear to be error cases, but nothing is returned during
|
||||
// these cases.
|
||||
|
||||
// Create the next block to propose and return it. Returns nil block upon error.
|
||||
//
|
||||
// We really only need to return the parts, but the block is returned for
|
||||
|
||||
Reference in New Issue
Block a user