Transaction: deprecate Tx signing methods
This commit is contained in:
parent
897bbf4eb4
commit
884fd542fe
3 changed files with 28 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -221,7 +221,7 @@ describe('Transaction', function() {
|
|||
// TODO:
|
||||
// hashForSignature: [Function],
|
||||
|
||||
// FIXME: could be better
|
||||
// FIXME: remove in 2.x.y
|
||||
describe('signInput/validateInput', function() {
|
||||
it('works for multi-sig redeem script', function() {
|
||||
var tx = new Transaction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue