Skip to content

Commit

Permalink
refactor Intent.isValidSignature - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
marino39 committed Feb 6, 2024
1 parent bc84c5c commit 84631e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intents/intent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 84631e7

Please sign in to comment.