Skip to content

Commit

Permalink
logout wallet-get-derived-addressess-contract
Browse files Browse the repository at this point in the history
  • Loading branch information
FFFra committed Mar 13, 2024
1 parent d0695b9 commit 36748c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tests/contract_test/wallet_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@
(contract-utils/call-rpc-endpoint
{:rpc-endpoint "wallet_getDerivedAddresses"
:params [sha3-pwd main-account derivation-path]
:action assert-derived-account}))))))
:action assert-derived-account})
(h/logout)
(rf-test/wait-for
[::logout/logout-method]))))))

(defn assert-wallet-tokens
[tokens]
Expand All @@ -134,6 +137,7 @@
(let [main-account (contract-utils/call-rpc-endpoint
{:rpc-endpoint "accounts_getAccounts"
:action get-default-account-address})]

(contract-utils/call-rpc-endpoint
{:rpc-endpoint "wallet_getWalletToken"
:params [[main-account]]
Expand Down

0 comments on commit 36748c8

Please sign in to comment.