From 0bdb747a826d59e00c10d31f2a95febda4c35181 Mon Sep 17 00:00:00 2001 From: Marcin Gorzynski Date: Tue, 6 Feb 2024 15:57:37 +0100 Subject: [PATCH] refactor Intent.isValidSignature - 2 --- intents/intent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }