all: rename D to d as per SEC convention
This commit is contained in:
parent
6b55ab4d04
commit
eb3a6bcb31
12 changed files with 70 additions and 69 deletions
test
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue