Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit f9ffec9

Browse files
committed
Lint lib/util
1 parent bdd4faa commit f9ffec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const Block = require('ethereumjs-block')
33
const Trie = require('merkle-patricia-tree/secure')
44
import * as util from 'ethereumjs-util'
55
import * as url from 'url'
6-
import * as path from 'path'
76

87
function toBuffer(string: string) {
98
return Buffer.from(util.stripHexPrefix(string), 'hex')
@@ -47,6 +46,7 @@ export function parseTransports(transports: any[]) {
4746
async function parseStorage(storage: any) {
4847
const trie = new Trie()
4948
const promises = []
49+
// eslint-disable-next-line prefer-const
5050
for (let [address, value] of Object.entries(storage)) {
5151
value = util.rlp.encode(util.unpadBuffer(toBuffer(value as string)))
5252
promises.push(

0 commit comments

Comments
 (0)