Browse Source

missing BIP32_PRIME definition in bip32 tests.

hk-custom-address
Pablo Martin 11 years ago
parent
commit
f9cbcbeb2b
  1. 2
      test/bip32.js

2
test/bip32.js

@ -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);

Loading…
Cancel
Save