bsc: disable snap sync (#3955)

This commit is contained in:
Alex Sharov 2022-04-25 08:52:25 +07:00 committed by GitHub
parent 8742141792
commit 874cd5dca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,8 +301,10 @@ func SyncModeByChainName(chain, syncCliFlag string) SyncMode {
return SnapSync
}
switch chain {
case networkname.MainnetChainName, networkname.BSCChainName, networkname.GoerliChainName:
case networkname.MainnetChainName, networkname.GoerliChainName:
return SnapSync
case networkname.BSCChainName:
return FastSync
default:
return FastSync
}