fix(WalletConnect): Reject session request when the authentication fails

TODO: Analyse recovery options
This commit is contained in:
Alex Jbanca 2024-08-13 12:15:10 +03:00 committed by Alex Jbanca
parent 4d963031e9
commit de916507e9
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ SQUtils.QObject {
if (session === null)
return
root.displayToastMessage(qsTr("Failed to authenticate %1 from %2").arg(methodStr).arg(session.peer.metadata.url), true)
root.sessionRequestResult(request, false /*isSuccessful*/)
})
}