Skip to content

Commit

Permalink
chore(add): fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
JustZacca committed Jul 13, 2022
1 parent 758b5ad commit 23a50cd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions store/accounts/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,28 +354,10 @@ export default {
'Loading Iridium from accounts startup',
)
const $BlockchainClient: BlockchainClient = BlockchainClient.getInstance()
<<<<<<< HEAD

const { entropyMessage } = state
const entropy = await $BlockchainClient.signMessage(entropyMessage)
await dispatch('iridium/initializFromEntropy', entropy, { root: true })
=======
if (state.adapter === 'Solana') {
const { pin } = state
await dispatch(
'iridium/initialize',
{
pass: pin,
wallet: $BlockchainClient.account,
},
{ root: true },
)
} else {
const { entropyMessage } = state
const entropy = await $BlockchainClient.signMessage(entropyMessage)
await dispatch('iridium/initializFromEntropy', entropy, { root: true })
}
>>>>>>> e25013e7 (chore(add): added phantom manager and fully integrated Phantom)
}

await dispatch('groups/initialize', {}, { root: true })
Expand Down

0 comments on commit 23a50cd

Please sign in to comment.