This repository was archived by the owner on Jun 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- const ethjsUtil = require ( 'ethjs-util' )
1+ import * as ethjsUtil from 'ethjs-util'
22import * as assert from 'assert'
33import * as secp256k1 from 'secp256k1'
44import * as BN from 'bn.js'
Original file line number Diff line number Diff line change 1- const ethjsUtil = require ( 'ethjs-util' )
1+ import * as ethjsUtil from 'ethjs-util'
22import * as BN from 'bn.js'
33import { assertIsBuffer , assertIsArray , assertIsHexString } from './helpers'
44
Original file line number Diff line number Diff line change 11const createKeccakHash = require ( 'keccak' )
22const createHash = require ( 'create-hash' )
3- const ethjsUtil = require ( 'ethjs-util' )
3+ import * as ethjsUtil from 'ethjs-util'
44import * as rlp from 'rlp'
55import { toBuffer , setLengthLeft } from './bytes'
66
Original file line number Diff line number Diff line change 1- const ethjsUtil = require ( 'ethjs-util' )
1+ import * as ethjsUtil from 'ethjs-util'
22
33/**
44 * Throws if a string is not hex prefixed
Original file line number Diff line number Diff line change 1- const ethjsUtil = require ( 'ethjs-util' )
1+ import * as ethjsUtil from 'ethjs-util'
22import * as assert from 'assert'
33import * as rlp from 'rlp'
44import { toBuffer , baToJSON , unpadBuffer } from './bytes'
You can’t perform that action at this time.
0 commit comments