Skip to content

Commit

Permalink
Merge branch 'main' into langButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ManyRios authored Nov 27, 2024
2 parents 562f5c5 + c44a491 commit 436e86c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/web-provider/src/vault-service/vault-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ export const createVaultService = (): IVaultService => {
getBalance: async () => {
await rehydrate()
const store = useVault.getState()
return Number(
(store.getCurrentWallet().accountInfo.MINA?.balance.total ?? 0) / 1e9,
) as number
return store.getCurrentWallet().accountInfo.MINA?.balance.total ?? 0
},
addChain: async (providerConfig: ProviderConfig) => {
await rehydrate()
Expand Down

0 comments on commit 436e86c

Please sign in to comment.