Transaction: deprecate Tx signing methods

This commit is contained in:
Daniel Cousens 2014-07-25 16:11:45 +10:00
parent 897bbf4eb4
commit 884fd542fe
3 changed files with 28 additions and 14 deletions

View file

@ -183,7 +183,7 @@ describe('Bitcoin-core', function() {
var actualHash
try {
actualHash = transaction.hashForSignature(script, inIndex, hashType)
actualHash = transaction.hashForSignature(inIndex, script, hashType)
} catch (e) {
// don't fail if we don't support it yet, TODO
if (!e.message.match(/not yet supported/)) throw e