exchange: drop unused function

This commit is contained in:
c9s 2023-05-16 18:21:18 +08:00
parent 0b6dc41091
commit 983707b56a
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -56,8 +56,3 @@ func NewWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.Exchange
subAccount := os.Getenv(varPrefix + "_SUBACCOUNT")
return NewStandard(n, key, secret, passphrase, subAccount)
}
// New constructor exchange object from viper config.
func New(n types.ExchangeName) (types.Exchange, error) {
return NewWithEnvVarPrefix(n, "")
}