Browse Source

config: trust period consistency (#5297)

## Description

make state sync trust period consistent with the default in the `tendermint light` cmd

Closes: #XXX
pull/5302/head
Marko 4 years ago
committed by GitHub
parent
commit
0fafffcd5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      config/config.go

+ 3
- 1
config/config.go 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


Loading…
Cancel
Save