Skip to content

Commit

Permalink
Update BN import (#2431)
Browse files Browse the repository at this point in the history
As mentioned in MetaMask/core#428 the `BN` export was removed in MetaMask/core#398. This is the only instance where it's being imported this way. We should update this now as the `BN` export will be removed from `controllers` in a future version.
  • Loading branch information
rickycodes authored Mar 25, 2021
1 parent bded23c commit e3e8dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Views/ApproveView/Approve/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { shallow } from 'enzyme';
import Approve from './';
import configureMockStore from 'redux-mock-store';
import { BN } from '@metamask/controllers';
import { BN } from 'ethereumjs-util';

const mockStore = configureMockStore();

Expand Down

0 comments on commit e3e8dae

Please sign in to comment.