fix: usage of web3-wallet (#20864)

This commit is contained in:
Lungu Cristian 2024-07-24 13:54:30 +03:00 committed by GitHub
parent 07005f8ad5
commit c6a63e30b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -51,8 +51,9 @@
(defn reject-session (defn reject-session
[{:keys [web3-wallet id reason]}] [{:keys [web3-wallet id reason]}]
(.rejectSession web3-wallet (oops/ocall web3-wallet
(clj->js {:id id "rejectSession"
(bean/->js {:id id
:reason reason}))) :reason reason})))
(defn approve-session (defn approve-session