@defichain/jellyfish-transaction
Advanced tools
Comparing version 0.34.1 to 0.34.2
@@ -36,3 +36,3 @@ "use strict"; | ||
function isDeFiScript(stack) { | ||
if (stack.length !== 2) { | ||
if (stack.length < 2) { | ||
return false; | ||
@@ -61,3 +61,4 @@ } | ||
mapping_1.OP_CODES.OP_RETURN, | ||
mapping_1.OP_CODES.OP_DEFI_TX(dftx.toObject()) | ||
mapping_1.OP_CODES.OP_DEFI_TX(dftx.toObject()), | ||
...stack.slice(2) | ||
]; | ||
@@ -64,0 +65,0 @@ } |
{ | ||
"private": false, | ||
"name": "@defichain/jellyfish-transaction", | ||
"version": "0.34.1", | ||
"version": "0.34.2", | ||
"description": "A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance on Bitcoin", | ||
@@ -41,5 +41,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@defichain/jellyfish-crypto": "^0.34.1", | ||
"@defichain/jellyfish-crypto": "^0.34.2", | ||
"smart-buffer": "^4.1.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
308642
5717