Skip to content

Commit

Permalink
fix(account): fix js account rpc
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Fanton <guilhem.fanton@gmail.com>
  • Loading branch information
gfanton committed Jan 3, 2021
1 parent 2ef235e commit edea5d2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions js/packages/store/providerEffects.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
bridge as rpcBridge,
grpcweb as rpcWeb,
native as rpcNative,
} from '@berty-tech/grpc-bridge/rpc'
import { bridge as rpcBridge, grpcweb as rpcWeb } from '@berty-tech/grpc-bridge/rpc'
import i18n from '@berty-tech/berty-i18n'
import { EOF, Service } from '@berty-tech/grpc-bridge'
import ExternalTransport from './externalTransport'
Expand All @@ -22,7 +18,7 @@ import beapi from '@berty-tech/api'
import { reducerAction } from '@berty-tech/store/providerReducer'
import { ServiceClientType } from '@berty-tech/grpc-bridge/welsh-clients.gen'

const accountService = Service(beapi.account.AccountService, rpcNative, null)
const accountService = Service(beapi.account.AccountService, rpcBridge, null)

export const storageKeyForAccount = (accountID: string) => `storage_${accountID}`

Expand Down

0 comments on commit edea5d2

Please sign in to comment.