Fixing out-of-order browserify imports again.
This commit is contained in:
parent
62987ac3a8
commit
7014afaab6
@ -8,7 +8,6 @@ import { arrayify, hexlify, hexZeroPad, splitSignature } from './bytes';
|
|||||||
import { hashMessage } from './hash';
|
import { hashMessage } from './hash';
|
||||||
import { keccak256 } from './keccak256';
|
import { keccak256 } from './keccak256';
|
||||||
import { defineReadOnly } from './properties';
|
import { defineReadOnly } from './properties';
|
||||||
import { ec as EC } from 'elliptic';
|
|
||||||
|
|
||||||
import { Arrayish, Signature } from './types';
|
import { Arrayish, Signature } from './types';
|
||||||
|
|
||||||
@ -111,3 +110,9 @@ export function verifyMessage(message: Arrayish | string, signature: Signature |
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// !!! IMPORTANT !!!
|
||||||
|
//
|
||||||
|
// This must be be at the end, otherwise Browserify attempts to include upstream
|
||||||
|
// dependencies before this module is loaded.
|
||||||
|
|
||||||
|
import { ec as EC } from 'elliptic';
|
||||||
|
@ -3,7 +3,6 @@ import { getAddress } from './address';
|
|||||||
import { bigNumberify, ConstantZero } from './bignumber';
|
import { bigNumberify, ConstantZero } from './bignumber';
|
||||||
import { arrayify, hexlify, hexZeroPad, splitSignature, stripZeros, } from './bytes';
|
import { arrayify, hexlify, hexZeroPad, splitSignature, stripZeros, } from './bytes';
|
||||||
import { keccak256 } from './keccak256';
|
import { keccak256 } from './keccak256';
|
||||||
import { recoverAddress } from './secp256k1';
|
|
||||||
|
|
||||||
import * as RLP from './rlp';
|
import * as RLP from './rlp';
|
||||||
|
|
||||||
@ -160,3 +159,9 @@ export function parse(rawTransaction: Arrayish): Transaction {
|
|||||||
return tx;
|
return tx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// !!! IMPORTANT !!!
|
||||||
|
//
|
||||||
|
// This must be be at the end, otherwise Browserify attempts to include upstream
|
||||||
|
// dependencies before this module is loaded.
|
||||||
|
|
||||||
|
import { recoverAddress } from './secp256k1';
|
||||||
|
Loading…
Reference in New Issue
Block a user