diff --git a/intents/intent.go b/intents/intent.go index 9e976cc..df01a50 100644 --- a/intents/intent.go +++ b/intents/intent.go @@ -138,7 +138,7 @@ func (intent *Intent) keyType(sessionId string) KeyType { } // handle old session ids - if len(sessionId) <= 42 { + if len(sessionId) == 42 { return KeyTypeSECP256K1 }