Commit 18682dcf authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

fix: check existance of legacy flag correctly (#1740)

parent f37f7967
...@@ -105,7 +105,7 @@ func InitChequebookFactory( ...@@ -105,7 +105,7 @@ func InitChequebookFactory(
logger.Infof("using custom factory address: %x", currentFactory) logger.Infof("using custom factory address: %x", currentFactory)
} }
if legacyFactoryAddresses == nil { if len(legacyFactoryAddresses) == 0 {
if found { if found {
legacyFactories = foundLegacyFactories legacyFactories = foundLegacyFactories
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment