Transaction: deprecate Tx signing methods
This commit is contained in:
parent
897bbf4eb4
commit
884fd542fe
3 changed files with 28 additions and 14 deletions
test
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue