From f8f459dda8f254f15e0d11a524f13546fd0720a1 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 28 Nov 2014 13:47:05 +1100 Subject: [PATCH] scripts: add dataOutput deprecation --- src/scripts.js | 4 ++++ 1 file changed, 4 insertions(+) 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 }