Comparing version 0.7.1 to 0.7.2
@@ -245,2 +245,3 @@ "use strict"; | ||
this.emit((0, utils_1.encodeBool)(false)); | ||
this.pushToStack('(value)'); | ||
node.parameters = this.visitList(node.parameters); | ||
@@ -250,3 +251,3 @@ this.emit(utils_1.Op.OP_CHECKMULTISIG); | ||
const pks = node.parameters[1]; | ||
this.popFromStack(sigs.elements.length + pks.elements.length + 2); | ||
this.popFromStack(sigs.elements.length + pks.elements.length + 3); | ||
this.pushToStack('(value)'); | ||
@@ -253,0 +254,0 @@ return node; |
export * from './Errors.js'; | ||
export * as utils from '@cashscript/utils'; | ||
export { compileFile, compileString } from './compiler.js'; | ||
export declare const version = "0.7.1"; | ||
export declare const version = "0.7.2"; |
@@ -35,3 +35,3 @@ "use strict"; | ||
Object.defineProperty(exports, "compileString", { enumerable: true, get: function () { return compiler_js_1.compileString; } }); | ||
exports.version = '0.7.1'; | ||
exports.version = '0.7.2'; | ||
//# sourceMappingURL=index.js.map |
@@ -240,2 +240,3 @@ import { hexToBin } from '@bitauth/libauth'; | ||
this.emit(encodeBool(false)); | ||
this.pushToStack('(value)'); | ||
node.parameters = this.visitList(node.parameters); | ||
@@ -245,3 +246,3 @@ this.emit(Op.OP_CHECKMULTISIG); | ||
const pks = node.parameters[1]; | ||
this.popFromStack(sigs.elements.length + pks.elements.length + 2); | ||
this.popFromStack(sigs.elements.length + pks.elements.length + 3); | ||
this.pushToStack('(value)'); | ||
@@ -248,0 +249,0 @@ return node; |
export * from './Errors.js'; | ||
export * as utils from '@cashscript/utils'; | ||
export { compileFile, compileString } from './compiler.js'; | ||
export declare const version = "0.7.1"; | ||
export declare const version = "0.7.2"; |
@@ -5,3 +5,3 @@ export * from './Errors.js'; | ||
export { compileFile, compileString } from './compiler.js'; | ||
export const version = '0.7.1'; | ||
export const version = '0.7.2'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "cashc", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Compile Bitcoin Cash contracts to Bitcoin Cash Script or artifacts", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
"@bitauth/libauth": "^1.18.1", | ||
"@cashscript/utils": "^0.7.1", | ||
"@cashscript/utils": "^0.7.2", | ||
"antlr4ts": "^0.5.0-alpha.4", | ||
@@ -63,3 +63,3 @@ "commander": "^7.1.0", | ||
}, | ||
"gitHead": "ba6756003d0d220c5d8c67c8459c65ced0152189" | ||
"gitHead": "0ec0bd1447e2f89e396c3b7e2c027a121e11f4e1" | ||
} |
680099
16158
Updated@cashscript/utils@^0.7.2