mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 03:35:19 +00:00
config: trust period consistency (#5297)
## Description make state sync trust period consistent with the default in the `tendermint light` cmd Closes: #XXX
This commit is contained in:
@@ -729,7 +729,9 @@ func (cfg *StateSyncConfig) TrustHashBytes() []byte {
|
||||
|
||||
// DefaultStateSyncConfig returns a default configuration for the state sync service
|
||||
func DefaultStateSyncConfig() *StateSyncConfig {
|
||||
return &StateSyncConfig{}
|
||||
return &StateSyncConfig{
|
||||
TrustPeriod: 168 * time.Hour,
|
||||
}
|
||||
}
|
||||
|
||||
// TestFastSyncConfig returns a default configuration for the state sync service
|
||||
|
||||
Reference in New Issue
Block a user