Comparing version
@@ -5,3 +5,3 @@ let counted = Symbol('counted') | ||
mustHaveOutput (requiredOutput) { | ||
for (let output of this.outputs) { | ||
for (let output of this.to) { | ||
// skip outputs already counted by a different condition | ||
@@ -26,3 +26,3 @@ if (output[counted]) continue | ||
mustPayToAddress (address, amount) { | ||
for (let output of this.outputs) { | ||
for (let output of this.to) { | ||
if (output.type !== 'accounts') continue | ||
@@ -29,0 +29,0 @@ if (output.address !== address) continue |
{ | ||
"name": "clauses", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Smart contract clause helpers for Lotion", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1563
-0.64%