diff --git a/src/scripts.js b/src/scripts.js index ac6d6e5..0ffb1e0 100644 --- a/src/scripts.js +++ b/src/scripts.js @@ -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 }