Skip to content

Commit fa94606

Browse files
fix keccak import
1 parent 11495c1 commit fa94606

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/controllers/MessageManager.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { bufferToHex, keccak256 } from '@ethereumjs/util'
1+
import { bufferToHex } from '@ethereumjs/util'
22
import { ObservableStore } from '@metamask/obs-store'
3+
import { keccak256 } from '@toruslabs/metadata-helpers'
34
import { ethErrors } from 'eth-rpc-errors'
45
import EventEmitter from 'events'
56

test/unit/controllers/torus-keyring-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { RLP } from '@ethereumjs/rlp'
88
import log from 'loglevel'
99

1010
import TorusKeyring from '../../../src/controllers/TorusKeyring'
11-
import { keccak256 } from '@toruslabs/openlogin-utils'
11+
import { keccak256 } from '@toruslabs/metadata-helpers'
1212

1313
const TYPE_STR = 'Torus Keyring'
1414

0 commit comments

Comments
 (0)