bitcore icon indicating copy to clipboard operation
bitcore copied to clipboard

Bug in ScriptInterpreter.js checkSig

Open discretepackets opened this issue 12 years ago • 4 comments

ScriptInterpreter.js references Util.BitcoinKey() https://github.com/bitpay/bitcore/blob/master/ScriptInterpreter.js#L1023 but util/util.js in this repo does not contain an export for BitcoinKey

BitcoinKey appears here because the source version of the ScriptInterpreter.js code in bitcoinjs-server contains it. See https://github.com/bitcoinjs/bitcoinjs-server/blob/master/lib/util.js#L10

discretepackets avatar Mar 01 '14 14:03 discretepackets

Is ScriptInterpreter functional at the moment? It would be nice to be able to verify transaction inputs.

shepelt avatar Mar 13 '14 16:03 shepelt

ScriptInterpreter is under development right now. I'm working on making the bitcoin core tests pass for this class. Most of it is working, but it's not complete yet. I'll post again when ScriptInterpreter passes all the new tests I'm adding (https://github.com/maraoz/bitcore/tree/feature/add-bitcoin-core-tests)

maraoz avatar Mar 13 '14 16:03 maraoz

by the way the original issue @discretepackets noted is something I'll look into too

maraoz avatar Mar 13 '14 16:03 maraoz

This was fixed a long time ago

maraoz avatar Apr 22 '14 23:04 maraoz