fix tests

fix tests to match python-ecdsa
This commit is contained in:
bip32JP 2015-01-02 15:33:46 +09:00
parent 95bfb18849
commit bc6f592daa
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ describe('ECDSA', function() {
ecdsa.k.toBuffer().toString('hex')
.should.not.equal('fcce1de7a9bcd6b2d3defade6afa1913fb9229e3b7ddf4749b55c4848b2a196e');
ecdsa.k.toBuffer().toString('hex')
.should.equal('6f4dcca6fa7a137ae9d110311905013b3c053c732ad18611ec2752bb3dcef9d8');
.should.equal('727fbcb59eb48b1d7d46f95a04991fc512eb9dbf9105628e3aec87428df28fd8');
});
it('should compute this test vector correctly', function() {
// test fixture from bitcoinjs