scripts: add dataOutput deprecation

This commit is contained in:
Daniel Cousens 2014-11-28 13:47:05 +11:00
parent e4eb743cf9
commit f8f459dda8

View file

@ -267,5 +267,9 @@ module.exports = {
pubKeyHashInput: pubKeyHashInput,
scriptHashInput: scriptHashInput,
multisigInput: multisigInput,
dataOutput: function(data) {
console.warn('dataOutput is deprecated, use nullDataOutput by 2.0.0')
return nullDataOutput(data)
},
nullDataOutput: nullDataOutput
}