missing BIP32_PRIME definition in bip32 tests.

This commit is contained in:
Pablo Martin 2013-12-12 17:46:39 +01:00
parent 14803d0538
commit f9cbcbeb2b

View file

@ -6,6 +6,8 @@ var BIP32key = require('..').BIP32key;
var hexToBytes = require('../').convert.hexToBytes;
var bytesToString = require('../').convert.bytesToString;
var BIP32_PRIME = 0x80000000;
function checkKey(key, extPriv, extPub) {
assert.equal(key.serialize(), extPriv);
assert.equal(key.getPub().serialize(), extPub);