all: rename D to d as per SEC convention

This commit is contained in:
Daniel Cousens 2014-06-07 18:24:16 +10:00
parent 6b55ab4d04
commit eb3a6bcb31
12 changed files with 70 additions and 69 deletions

View file

@ -101,7 +101,7 @@ describe('Bitcoin-core', function() {
it('imports ' + string + ' correctly', function() {
var privKey = ECKey.fromWIF(string)
assert.equal(privKey.D.toHex(), hex)
assert.equal(privKey.d.toHex(), hex)
assert.equal(privKey.pub.compressed, params.isCompressed)
})
})