File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -423,8 +423,8 @@ func (m *Manifest) Validate() error {
423
423
if err := m .PartialMessageManager .Validate (); err != nil {
424
424
return fmt .Errorf ("invalid manifest: invalid partial message manager config: %w" , err )
425
425
}
426
- if m .ChainExchange . MaxChainLength > m .Gpbft . ChainProposedLength {
427
- return fmt .Errorf ("invalid manifest: chain exchange max chain length %d exceeds gpbft proposed chain length %d" , m .ChainExchange . MaxChainLength , m .Gpbft . ChainProposedLength )
426
+ if m .Gpbft . ChainProposedLength > m .ChainExchange . MaxChainLength {
427
+ return fmt .Errorf ("invalid manifest: chain proposal length %d is greater than chain exchange max chain length %d" , m .Gpbft . ChainProposedLength , m .ChainExchange . MaxChainLength )
428
428
}
429
429
if m .ChainExchange .MaxInstanceLookahead > m .CommitteeLookback {
430
430
return fmt .Errorf ("invalid manifest: chain exchange max instance lookahead %d exceeds committee lookback %d" , m .ChainExchange .MaxInstanceLookahead , m .CommitteeLookback )
You can’t perform that action at this time.
0 commit comments