Skip to content

Commit

Permalink
Change deposit transaction to type 0
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Nov 8, 2022
1 parent 4948731 commit 60ff6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/composables/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function useWallet() {
let signer = ethersSignerCreator[signerKey](selectedProvider.value)
if (isWalletConnectSigner(signer)) signer = await signer
const value = ethers.utils.parseEther(amountToStake.value)
await ssv.connect(signer as ethers.Signer).deposit({ value, type: 1 })
await ssv.connect(signer as ethers.Signer).deposit({ value, type: 0 })
} else {
// Todo @ccali11 this should happen sooner - ideally we'll this disable method if missing ssv provider
console.log('Please connect to one of the following providers:', ethersProviderList)
Expand Down

0 comments on commit 60ff6e1

Please sign in to comment.