fix: usage of web3-wallet (#20864)
This commit is contained in:
parent
07005f8ad5
commit
c6a63e30b2
|
@ -51,9 +51,10 @@
|
||||||
|
|
||||||
(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"
|
||||||
:reason reason})))
|
(bean/->js {:id id
|
||||||
|
:reason reason})))
|
||||||
|
|
||||||
(defn approve-session
|
(defn approve-session
|
||||||
[{:keys [web3-wallet id approved-namespaces]}]
|
[{:keys [web3-wallet id approved-namespaces]}]
|
||||||
|
|
Loading…
Reference in New Issue