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:
Marko
2020-08-27 16:44:47 +02:00
committed by GitHub
parent e30b125725
commit 0fafffcd5a

View File

@@ -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