Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na committed Sep 17, 2019
1 parent 62ffb8a commit e028024
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/multiproof.ts
Expand Up @@ -311,13 +311,7 @@ export function encodeMultiproof(proof: Multiproof): Buffer {
}

export function rawMultiproof(proof: Multiproof): any {
return [
proof.hashes,
proof.keyvals,
proof.instructions.map((i) => {
return [i.kind, i.value]
})
]
return [proof.hashes, proof.keyvals, proof.instructions.map(i => [i.kind, i.value])]
}

export function decodeInstructions(instructions: Buffer[][]) {
Expand Down

0 comments on commit e028024

Please sign in to comment.