import Buffer package
This commit is contained in:
parent
893ce99a4a
commit
14ea7684bf
|
@ -1,3 +1,4 @@
|
|||
import { Buffer } from 'buffer'
|
||||
import CryptoJS from 'crypto-js'
|
||||
|
||||
export class Base {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import Base from './Base'
|
||||
import { Buffer } from 'buffer'
|
||||
import SHA256 from 'crypto-js/sha256'
|
||||
import Base from './Base'
|
||||
|
||||
// @credit: https://github.com/wanseob/solidity-mmr
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import { Buffer } from 'buffer'
|
||||
import reverse from 'buffer-reverse'
|
||||
import SHA256 from 'crypto-js/sha256'
|
||||
import Base from './Base'
|
||||
import treeify from 'treeify'
|
||||
import Base from './Base'
|
||||
|
||||
// TODO: Clean up and DRY up code
|
||||
// Disclaimer: The multiproof code is unaudited and may possibly contain serious issues. It's in a hacky state as is and it's begging for a rewrite!
|
||||
|
|
Loading…
Reference in New Issue