fix varint test broken in browser
This commit is contained in:
parent
0212e4bd4c
commit
f727c5ad25
|
@ -52,7 +52,7 @@ describe('Varint', function() {
|
|||
describe('#fromBN', function() {
|
||||
|
||||
it('should set a number', function() {
|
||||
var varint = Varint().fromNumber(BN(5));
|
||||
var varint = Varint().fromBN(BN(5));
|
||||
varint.toNumber().should.equal(5);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue