Browse Source

config: allow fastsync.version = v2 (#4639)

pull/4649/head
Erik Grinaker 5 years ago
committed by GitHub
parent
commit
f51ca72b24
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      config/config.go

+ 2
- 0
config/config.go View File

@ -734,6 +734,8 @@ func (cfg *FastSyncConfig) ValidateBasic() error {
return nil return nil
case "v1": case "v1":
return nil return nil
case "v2":
return nil
default: default:
return fmt.Errorf("unknown fastsync version %s", cfg.Version) return fmt.Errorf("unknown fastsync version %s", cfg.Version)
} }


Loading…
Cancel
Save