interact: revert to id = strategy.ID()

This commit is contained in:
Andy Cheng 2022-06-06 16:20:06 +08:00
parent 3d9994706b
commit 1f79e236ad

View File

@ -413,7 +413,7 @@ func getStrategySignature(strategy SingleExchangeStrategy) (string, error) {
var signature = path.Base(rv.Type().PkgPath())
id := callID(strategy)
var id = strategy.ID()
if !strings.EqualFold(id, signature) {
signature += "." + strings.ToLower(id)