@helios-lang/contract-utils
Advanced tools
Comparing version 0.1.9 to 0.1.10
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -161,11 +161,10 @@ import { bytesToHex } from "@helios-lang/codec-utils" | ||
let m = stack.pop() | ||
while (m) { | ||
if (result.has(m.$name)) { | ||
continue | ||
if (!result.has(m.$name)) { | ||
result.set(m.$name, m.$sourceCode) | ||
stack = stack.concat(m.$dependencies) | ||
} | ||
result.set(m.$name, m.$sourceCode) | ||
stack = stack.concat(m.$dependencies) | ||
m = stack.pop() | ||
@@ -172,0 +171,0 @@ } |
Sorry, the diff of this file is not supported yet
87916
2463