From 874cd5dca02e6a4b59006fce28a86296d17d5acc Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Mon, 25 Apr 2022 08:52:25 +0700 Subject: [PATCH] bsc: disable snap sync (#3955) --- eth/ethconfig/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index 17b60641c..926457a64 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -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 }