Skip to content

Commit 5259fbf

Browse files
Aaron BarnardAaron Barnard
authored andcommitted
Change to cleanUp method for disconnect
1 parent 37af3d7 commit 5259fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/select/wallets/torus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function torus(options: TorusOptions & CommonWalletOptions): WalletModule {
224224
let result = await instance.login({ verifier: loginMethod })
225225
return { message: result[0] }
226226
},
227-
disconnect: () => instance.logout(),
227+
disconnect: () => instance.cleanUp(),
228228
address: {
229229
get: () => Promise.resolve(instance.web3.eth.accounts[0])
230230
},

0 commit comments

Comments
 (0)