Skip to content

Commit

Permalink
intents: IntentDataSessionAuthProof & IntentResponseSessionAuthProof …
Browse files Browse the repository at this point in the history
…- fix
  • Loading branch information
marino39 committed Mar 20, 2024
1 parent e493239 commit 6576d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions intents/intent_response_typed.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ func IntentResponseTypeToCode[T any](t *T) string {
return IntentResponseCodeValidationStarted
case *IntentResponseValidationFinished:
return IntentResponseCodeValidationFinished
case *IntentResponseAuthProof:
return IntentResponseCodeAuthProof
case *IntentResponseSessionAuthProof:
return IntentResponseCodeSessionAuthProof
case *IntentResponseSignedMessage:
return IntentResponseCodeSignedMessage
case *IntentResponseFeeOptions:
Expand Down
4 changes: 2 additions & 2 deletions intents/intent_typed.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func IntentDataTypeToName[T any](t *T) string {
return IntentNameListSessions
case *IntentDataGetSession:
return IntentNameGetSession
case *IntentDataAuthProof:
return IntentNameAuthProof
case *IntentDataSessionAuthProof:
return IntentNameSessionAuthProof
case *IntentDataSignMessage:
return IntentNameSignMessage
case *IntentDataFeeOptions:
Expand Down

0 comments on commit 6576d1b

Please sign in to comment.