This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
config: allow fastsync.version = v2 (
#4639
)
pull/4649/head
Erik Grinaker
5 years ago
committed by
GitHub
parent
61057a8b0a
commit
f51ca72b24
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
}
}
Write
Preview
Loading…
Cancel
Save