use SIGHASH_FORKID for cash txs
This commit is contained in:
parent
acdf99a34f
commit
9ef45b4409
|
@ -341,7 +341,7 @@ TxProposal.prototype._addSignaturesToBitcoreTx = function(tx, signatures, xpub)
|
|||
var s = {
|
||||
inputIndex: i,
|
||||
signature: signature,
|
||||
sigtype: bitcore.crypto.Signature.SIGHASH_ALL,
|
||||
sigtype: bitcore.crypto.Signature.SIGHASH_ALL | bitcore.crypto.Signature.SIGHASH_FORKID,
|
||||
publicKey: pub,
|
||||
};
|
||||
tx.inputs[i].addSignature(tx, s);
|
||||
|
|
Loading…
Reference in New Issue