scripts: add dataOutput deprecation
This commit is contained in:
parent
e4eb743cf9
commit
f8f459dda8
1 changed files with 4 additions and 0 deletions
|
@ -267,5 +267,9 @@ module.exports = {
|
||||||
pubKeyHashInput: pubKeyHashInput,
|
pubKeyHashInput: pubKeyHashInput,
|
||||||
scriptHashInput: scriptHashInput,
|
scriptHashInput: scriptHashInput,
|
||||||
multisigInput: multisigInput,
|
multisigInput: multisigInput,
|
||||||
|
dataOutput: function(data) {
|
||||||
|
console.warn('dataOutput is deprecated, use nullDataOutput by 2.0.0')
|
||||||
|
return nullDataOutput(data)
|
||||||
|
},
|
||||||
nullDataOutput: nullDataOutput
|
nullDataOutput: nullDataOutput
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue